forked from Ailur/burgernotes-server
Fixed another typo in hashcash
This commit is contained in:
parent
7d33099334
commit
795fa524d0
2
main.go
2
main.go
|
@ -398,7 +398,7 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
if strings.Split(stamp, ":")[3] != "signup" || strings.Split(stamp, ":")[4] != "I love burgernotes!" {
|
||||
if strings.Split(stamp, ":")[3] != "signup" || strings.Split(stamp, ":")[4] != "I love Burgernotes!" {
|
||||
c.JSON(400, gin.H{"error": "Invalid hashcash stamp"})
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue