Skip to content

Commit 5c998ed

Browse files
committed
fix initialisation
1 parent f277405 commit 5c998ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/transaction.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,8 @@ static int tx_add_elements_raw_output(
14151415
satoshi, (unsigned char *)script, script_len,
14161416
is_elements ? WALLY_TX_IS_ELEMENTS : 0,
14171417
#ifdef BUILD_ELEMENTS
1418-
NULL, 0, NULL, 0, NULL, 0, (unsigned char *) surjectionproof, surjectionproof_len,
1418+
(unsigned char *)asset, asset_len, (unsigned char *)value, value_len,
1419+
(unsigned char *)nonce, nonce_len, (unsigned char *)surjectionproof, surjectionproof_len,
14191420
(unsigned char *)rangeproof, rangeproof_len,
14201421
#endif /* BUILD_ELEMENTS */
14211422
};

0 commit comments

Comments
 (0)