+debug
This commit is contained in:
committed by
Jonathan "Duke" Leto
parent
71d9e4bece
commit
f0cb8ba145
@@ -1195,6 +1195,10 @@ bool ContextualCheckTransaction(int32_t slowflag,const CBlock *block, CBlockInde
|
|||||||
if (tx.fOverwintered && tx.nVersionGroupId != SAPLING_VERSION_GROUP_ID)
|
if (tx.fOverwintered && tx.nVersionGroupId != SAPLING_VERSION_GROUP_ID)
|
||||||
{
|
{
|
||||||
//return state.DoS(dosLevel, error("CheckTransaction(): invalid Sapling tx version"),REJECT_INVALID, "bad-sapling-tx-version-group-id");
|
//return state.DoS(dosLevel, error("CheckTransaction(): invalid Sapling tx version"),REJECT_INVALID, "bad-sapling-tx-version-group-id");
|
||||||
|
{
|
||||||
|
string strHex = EncodeHexTx(tx);
|
||||||
|
fprintf(stderr,"invalid Sapling rawtx.%s\n",strHex.c_str());
|
||||||
|
}
|
||||||
return state.DoS(isInitBlockDownload() ? 0 : dosLevel,
|
return state.DoS(isInitBlockDownload() ? 0 : dosLevel,
|
||||||
error("CheckTransaction(): invalid Sapling tx version"),
|
error("CheckTransaction(): invalid Sapling tx version"),
|
||||||
REJECT_INVALID, "bad-sapling-tx-version-group-id");
|
REJECT_INVALID, "bad-sapling-tx-version-group-id");
|
||||||
|
|||||||
Reference in New Issue
Block a user