File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ package namada
44#cgo LDFLAGS: -Lparse/target/release -lparse
55
66#include <stddef.h>
7+ #include <stdint.h>
78
8- extern char compute_masp_tx_id(
9+ extern int8_t compute_masp_tx_id(
910 void *result_ptr,
1011 void *borsh_data_ptr,
1112 size_t borsh_data_len
1213);
1314
14- extern char locate_masp_tx_ids_in_nam_tx(
15+ extern int8_t locate_masp_tx_ids_in_nam_tx(
1516 void *result_ptr,
1617 void *nam_tx_borsh_data_ptr,
1718 size_t nam_tx_borsh_data_len
@@ -31,7 +32,7 @@ type MaspTxSection struct {
3132}
3233
3334//export append_masp_tx
34- func append_masp_tx (mapHandle , maspTxId , sectionHash unsafe.Pointer , isIbc C.char ) {
35+ func append_masp_tx (mapHandle , maspTxId , sectionHash unsafe.Pointer , isIbc C.int8_t ) {
3536 sections := cgo .Handle (mapHandle ).Value ().(map [[32 ]byte ]MaspTxSection )
3637
3738 sections [* (* [32 ]byte )(maspTxId )] = MaspTxSection {
You can’t perform that action at this time.
0 commit comments