aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-04-27 16:27:28 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-05-17 16:11:40 +0200
commit6b636730f4befee39d57fcfd51298f3015dbf563 (patch)
treed4ce9fda88bd5b74734090fc9ec31c8c1b627fd0 /test
parent1ab389b1bac1378e17b13a4c4a81c24b92745cfb (diff)
tracing: fix `coin_selection:aps_create_tx_internal` calling logic
According to the documentation, the tracepoint `coin_selection:aps_create_tx_internal` "Is called when the second `CreateTransactionInternal` with Avoid Partial Spends enabled completes." Currently it is only called if the second call to `CreateTransactionInternal` succeeds, i.e. the third parameter is always `true` and we don't get notified in the case that it fails. Fix this by introducing a boolean variable for the result of the call and moving the tracepoint call outside the if body.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions