diff options
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index fdb694b5f1..31551dfe98 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -399,7 +399,7 @@ static RPCHelpMan generateblock() obj.pushKV("hash", block_out->GetHash().GetHex()); if (!process_new_block) { DataStream block_ser; - block_ser << RPCTxSerParams(*block_out); + block_ser << TX_WITH_WITNESS(*block_out); obj.pushKV("hex", HexStr(block_ser)); } return obj; |