Fixed typo in hashcash
This commit is contained in:
parent
1ae5222e33
commit
7d33099334
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -403,7 +403,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
pow := hashcash.New(20, 16, "I love burgernotes!")
|
||||
pow := hashcash.New(20, 16, "I love Burgernotes!")
|
||||
ok = pow.Check(stamp)
|
||||
if !ok {
|
||||
c.JSON(400, gin.H{"error": "Invalid hashcash stamp"})
|
||||
|
|
Loading…
Add table
Reference in a new issue