diff --git a/lib/cgo/cipher.bip32.bip32.go b/lib/cgo/cipher.bip32.bip32.go index 3e0def216..b0eaca43a 100644 --- a/lib/cgo/cipher.bip32.bip32.go +++ b/lib/cgo/cipher.bip32.bip32.go @@ -478,4 +478,4 @@ func SKY_bip32_PrivateKey_Publickey(_pk C.PrivateKey__Handle, _pp *C.PublicKey__ pp := pk.PublicKey() *_pp = registerPublicKeyHandle(pp) return -} \ No newline at end of file +} diff --git a/lib/cgo/coin.block.go b/lib/cgo/coin.block.go index 8ebd46c4e..c29aa97a8 100644 --- a/lib/cgo/coin.block.go +++ b/lib/cgo/coin.block.go @@ -218,7 +218,7 @@ func SKY_coin_CreateUnspents(_bh *C.coin__BlockHeader, _txn *C.Transaction__Hand } txn := *__txn __arg2 := coin.CreateUnspents(bh, txn) - copyToBuffer(reflect.ValueOf(__arg2[:]), unsafe.Pointer(_arg2), uint(SizeofUxArray)) + copyTocoin_UxArray(reflect.ValueOf(__arg2), _arg2) return }