Skip to content

Commit

Permalink
[cgo] refs skycoin#105 Restore functions SKY_cipher_SHA256_Set
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Oct 1, 2019
1 parent 91c0d7f commit c913831
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/cgo/cipher.hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c913831

Please sign in to comment.