|
@@ -121,7 +121,7 @@ func checkSignature(body []byte, timestamp, signature string) bool {
|
|
|
|
|
|
func checkPermission(timestamp, signature string, body []byte) (int, bool) {
|
|
|
|
|
|
- if string(body) == RAWTRANSFER {
|
|
|
+ if string(body) != SENDCOINS {
|
|
|
return OK, true
|
|
|
}
|
|
|
if checkSignature(body, timestamp, signature) == false {
|