From d52326e41628d23642c14f2a86e3feec49659ebf Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 23 Feb 2018 19:19:00 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_bitcoin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index 81072c3ed..691ab3e19 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -1912,8 +1912,9 @@ int32_t bitcoin_p2shspend(uint8_t *script,int32_t n,uint8_t rmd160[20]) int32_t bitcoin_secret160verify(uint8_t *script,int32_t n,uint8_t secret160[20]) { - script[n++] = IGUANA_OP_SIZE; // add SIZE 16 EQUALVERIFY + script[n++] = IGUANA_OP_SIZE; // add SIZE 32 EQUALVERIFY script[n++] = IGUANA_OP_PUSHDATA1; + script[n++] = 1; script[n++] = 32; script[n++] = SCRIPT_OP_EQUALVERIFY; script[n++] = SCRIPT_OP_HASH160;