diff options
author | Antoine Riard <ariard@student.42.fr> | 2019-04-20 11:22:59 -0400 |
---|---|---|
committer | Antoine Riard <ariard@student.42.fr> | 2019-11-06 13:29:53 -0500 |
commit | 5971d3848e09abf571e5308185275296127efca4 (patch) | |
tree | d72dc502a73f4e3b955c772225fedfa18be59cc9 /src/wallet/test/init_test_fixture.cpp | |
parent | 9700fcb47feca9d78e005b8d18b41148c8f6b25f (diff) |
Add block_height field in struct Confirmation
At wallet loading, we rely on chain state querying to retrieve
height of txn, to do so we ensure that lock order is respected
between cs_main and cs_wallet.
If wallet loaded is the wallet-tool one, all wallet txn will
show up with a height of zero. It doesn't matter as confirmation
height is not used by wallet-tool.
Reorder arguments and document Confirmation calls to avoid
ambiguity.
Fixes nits left from #16624
Diffstat (limited to 'src/wallet/test/init_test_fixture.cpp')
0 files changed, 0 insertions, 0 deletions