Fix zrpcunsafe logging and log valueBalance when final_check fails

This commit is contained in:
Duke Leto
2020-04-07 00:11:53 -04:00
parent 6e6e6e8e18
commit 6cdf4dd765
2 changed files with 7 additions and 6 deletions

View File

@@ -1327,6 +1327,7 @@ bool ContextualCheckTransaction(int32_t slowflag,const CBlock *block, CBlockInde
))
{
librustzcash_sapling_verification_ctx_free(ctx);
fprintf(stderr,"%s: valueBalance=%li\n", __func__, tx.valueBalance );
return state.DoS(100, error("ContextualCheckTransaction(): Sapling binding signature invalid"),
REJECT_INVALID, "bad-txns-sapling-binding-signature-invalid");
}