jl777 8 years ago
parent
commit
6c7cc94912
  1. 2
      basilisk/basilisk_swap.c

2
basilisk/basilisk_swap.c

@ -181,7 +181,7 @@ int32_t basilisk_bobscript(uint8_t *rmd160,uint8_t *redeemscript,int32_t *redeem
else if ( memcmp(bufB,secret160,sizeof(bufB)) == 0 ) else if ( memcmp(bufB,secret160,sizeof(bufB)) == 0 )
printf("MATCHES BUFB\n"); printf("MATCHES BUFB\n");
else printf("secret160 matches neither\n"); else printf("secret160 matches neither\n");
memcpy(secret160,bufA,20); memcpy(secret160,bufB,20);
} }
n = bitcoin_secret160verify(redeemscript,n,secret160); n = bitcoin_secret160verify(redeemscript,n,secret160);
} }

Loading…
Cancel
Save