mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-27 03:06:24 -05:00
Rename weight constants.
This commit is contained in:
parent
ee90c228b4
commit
9e8b788aa9
4 changed files with 16 additions and 16 deletions
|
|
@ -67,10 +67,10 @@ async fn next_state(
|
|||
BobState::Started { btc_amount } => {
|
||||
let bitcoin_refund_address = bitcoin_wallet.new_address().await?;
|
||||
let tx_refund_fee = bitcoin_wallet
|
||||
.estimate_fee(bitcoin::ESTIMATED_WEIGHT_TX_REDEEM)
|
||||
.estimate_fee(bitcoin::TX_REFUND_ESTIMATED_WEIGHT)
|
||||
.await?;
|
||||
let tx_cancel_fee = bitcoin_wallet
|
||||
.estimate_fee(bitcoin::ESTIMATED_WEIGHT_TX_CANCEL)
|
||||
.estimate_fee(bitcoin::TX_CANCEL_ESTIMATED_WEIGHT)
|
||||
.await?;
|
||||
|
||||
let state2 = request_price_and_setup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue