error w/o segwit after fork
This commit is contained in:
parent
b57aca5a93
commit
c725cd46cf
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
||||||
|
|
||||||
UniValue entry(UniValue::VOBJ);
|
UniValue entry(UniValue::VOBJ);
|
||||||
|
|
||||||
entry.pushKV("data", EncodeHexTx(tx, fSupportsSegwit ? 0 : SERIALIZE_TRANSACTION_NO_WITNESS));
|
entry.pushKV("data", EncodeHexTx(tx));
|
||||||
entry.pushKV("txid", txHash.GetHex());
|
entry.pushKV("txid", txHash.GetHex());
|
||||||
entry.pushKV("hash", tx.GetWitnessHash().GetHex());
|
entry.pushKV("hash", tx.GetWitnessHash().GetHex());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue