xmr-btc-swap/swap
Daniel Karzel 164de3c524 Properly calculate the confirmations for Bitcoin tx
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).
2021-02-19 17:09:53 +11:00
..
src Properly calculate the confirmations for Bitcoin tx 2021-02-19 17:09:53 +11:00
tests Upgrade to testcontainers v0.12 2021-02-16 17:11:25 +11:00
Cargo.toml Upgrade to testcontainers v0.12 2021-02-16 17:11:25 +11:00