mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Use txgraph to calculate ancestors
This commit is contained in:
committed by
Suhas Daftuar
parent
241a3e666b
commit
c8b6f70d64
@@ -474,7 +474,7 @@ static RPCHelpMan getmempoolancestors()
|
||||
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Transaction not in mempool");
|
||||
}
|
||||
|
||||
auto ancestors{mempool.CalculateMemPoolAncestors(*entry, /*fSearchForParents=*/false)};
|
||||
auto ancestors{mempool.CalculateMemPoolAncestors(*entry)};
|
||||
|
||||
if (!fVerbose) {
|
||||
UniValue o(UniValue::VARR);
|
||||
|
||||
Reference in New Issue
Block a user