mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-29 12:06:35 -05:00
Rename build_tx_lock_psbt to send_to_address
Being defined on the wallet itself, a more generic name fits better on what this function actually does.
This commit is contained in:
parent
67fe01a2ef
commit
32cb0eb896
2 changed files with 7 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ impl TxLock {
|
|||
.address(wallet.get_network().await)
|
||||
.expect("can derive address from descriptor");
|
||||
|
||||
let psbt = wallet.build_tx_lock_psbt(address, amount).await?;
|
||||
let psbt = wallet.send_to_address(address, amount).await?;
|
||||
|
||||
Ok(Self {
|
||||
inner: psbt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue