|
|
@ -1412,7 +1412,7 @@ bool ContextualCheckTransaction( |
|
|
|
UniValue txJson(UniValue::VOBJ); |
|
|
|
uint256 dummyHash; |
|
|
|
TxToUniv(tx, dummyHash, txJson); |
|
|
|
LogPrintf("%s: precheck failed: output %d on tx: %s\n", __func__, i, txJson.write(1,2).c_str()); |
|
|
|
LogPrintf("%s: precheck failed: reason: %s\noutput %d on tx: %s\n", __func__, state.GetRejectReason().c_str(), i, txJson.write(1,2).c_str()); |
|
|
|
} |
|
|
|
return state.DoS(10, error(state.GetRejectReason().c_str()), REJECT_INVALID, "bad-txns-failed-precheck"); |
|
|
|
} |
|
|
|