mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-27 07:47:08 -05:00
164de3c524
Once the transaction was included into a block it has one confirmation - before inclusion it has zero. current-block-height - transaction-block-height = zero; but that means one confirmation. Hence, the confirmation calculation was adapted to: Current-block-height - (transaction-block-height - 1).