diff --git a/lib/cgo/cipher.hash.go b/lib/cgo/cipher.hash.go index 90d46437a..908145a95 100644 --- a/lib/cgo/cipher.hash.go +++ b/lib/cgo/cipher.hash.go @@ -36,10 +36,6 @@ func SKY_cipher_HashRipemd160(_data []byte, _arg1 *C.cipher__Ripemd160) (____err //export SKY_cipher_SHA256_Set func SKY_cipher_SHA256_Set(_g *C.cipher__SHA256, _b []byte) (____error_code uint32) { g := (*cipher.SHA256)(unsafe.Pointer(_g)) - if _b == nil { - ____error_code = SKY_BAD_HANDLE - return - } err := g.Set(_b) ____error_code = libErrorCode(err) return