Skip to content

Commit

Permalink
suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielides committed Nov 29, 2023
1 parent 92f1367 commit 9ca39a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ static UniValue gettxchainlocks(const JSONRPCRequest& request)
int height{-1};
bool chainLock{false};

auto tx_ref = GetTransaction(nullptr, node.mempool.get(), txid, Params().GetConsensus(), hash_block);
const auto tx_ref = GetTransaction(nullptr, node.mempool.get(), txid, Params().GetConsensus(), hash_block);

if (tx_ref == nullptr) {
UniValue r(UniValue::VNULL);
Expand Down

0 comments on commit 9ca39a5

Please sign in to comment.