Skip to content

Commit c2b34f0

Browse files
committed
Fix blockchain.fetch_transaction_position (to exclude pool txs).
1 parent c7f29d1 commit c2b34f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void blockchain::fetch_transaction_index(server_node& node,
236236
const auto hash = deserial.read_hash();
237237

238238
// The response is restricted to confirmed transactions (backward compat).
239-
node.chain().fetch_transaction_position(hash, false,
239+
node.chain().fetch_transaction_position(hash, true,
240240
std::bind(&blockchain::transaction_index_fetched,
241241
_1, _2, _3, request, handler));
242242
}

0 commit comments

Comments
 (0)