|
@ -249,7 +249,7 @@ int32_t LP_merkleproof(struct iguana_info *coin,struct electrum_info *ep,bits256 |
|
|
if ( tx != 0 ) |
|
|
if ( tx != 0 ) |
|
|
tx->SPV = height; |
|
|
tx->SPV = height; |
|
|
LP_SPV_store(coin,txid,height); |
|
|
LP_SPV_store(coin,txid,height); |
|
|
printf("validated MERK %s ht.%d -> %s root.(%s)\n",bits256_str(str,txid),height,jprint(merkobj,0),bits256_str(str2,roothash)); |
|
|
//printf("validated MERK %s ht.%d -> %s root.(%s)\n",bits256_str(str,txid),height,jprint(merkobj,0),bits256_str(str2,roothash));
|
|
|
} |
|
|
} |
|
|
else printf("ERROR MERK %s ht.%d -> %s root.(%s) vs %s\n",bits256_str(str,txid),height,jprint(merkobj,0),bits256_str(str2,roothash),bits256_str(str3,merkleroot)); |
|
|
else printf("ERROR MERK %s ht.%d -> %s root.(%s) vs %s\n",bits256_str(str,txid),height,jprint(merkobj,0),bits256_str(str2,roothash),bits256_str(str3,merkleroot)); |
|
|
} else SPV = 0; |
|
|
} else SPV = 0; |
|
|