diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-11-22 16:24:38 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-12-05 14:22:05 -0500 |
commit | fa660d65d7cc401ad5bbfdc076a074de19a79329 (patch) | |
tree | e66d5323bd671bbfdec809b28775d8bf5d56ba8f /src/rpc | |
parent | facbaf092f1ab298943206603cff6e6e3d30d452 (diff) |
node: Use mempool from node context instead of global
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/rawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 38332fa342..fc6fc70392 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -759,7 +759,7 @@ static UniValue signrawtransactionwithkey(const JSONRPCRequest& request) for (const CTxIn& txin : mtx.vin) { coins[txin.prevout]; // Create empty map entry keyed by prevout. } - FindCoins(coins); + FindCoins(*g_rpc_node, coins); // Parse the prevtxs array ParsePrevouts(request.params[2], &keystore, coins); |