mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Remove deprecated -rpcserialversion
This commit is contained in:
parent
d5e5810bd3
commit
fa46cc22bc
14 changed files with 19 additions and 80 deletions
|
|
@ -62,7 +62,7 @@ static void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue&
|
|||
// Blockchain contextual information (confirmations and blocktime) is not
|
||||
// available to code in bitcoin-common, so we query them here and push the
|
||||
// data into the returned UniValue.
|
||||
TxToUniv(tx, /*block_hash=*/uint256(), entry, /*include_hex=*/true, RPCSerializationWithoutWitness(), txundo, verbosity);
|
||||
TxToUniv(tx, /*block_hash=*/uint256(), entry, /*include_hex=*/true, txundo, verbosity);
|
||||
|
||||
if (!hashBlock.IsNull()) {
|
||||
LOCK(cs_main);
|
||||
|
|
@ -383,7 +383,7 @@ static RPCHelpMan getrawtransaction()
|
|||
}
|
||||
|
||||
if (verbosity <= 0) {
|
||||
return EncodeHexTx(*tx, /*without_witness=*/RPCSerializationWithoutWitness());
|
||||
return EncodeHexTx(*tx);
|
||||
}
|
||||
|
||||
UniValue result(UniValue::VOBJ);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue