From 3e0104a1ff58b0539aeabb0cdfd14938c98ce208 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 26 Sep 2016 19:10:01 -0300 Subject: [PATCH] test --- basilisk/basilisk_swap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 9746d6613..5184b329a 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -122,6 +122,7 @@ int32_t basilisk_bobscript(uint8_t *rmd160,uint8_t *redeemscript,int32_t *redeem else if ( memcmp(bufB,secret160,sizeof(bufB)) == 0 ) printf("MATCHES BUFB\n"); else printf("secret160 matches neither\n"); + memcpy(secret160,bufB,20); } n = bitcoin_revealsecret160(redeemscript,n,secret160); }