mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 07:29:32 -05:00
Add a TODO to use existing helper functions
Helper functions already exist on the xmr-btc crate states, use them like it is done in the bob module.
This commit is contained in:
parent
84bec0631b
commit
19066200d1
@ -87,6 +87,8 @@ pub async fn negotiate(
|
||||
Ok((channel, state3))
|
||||
}
|
||||
|
||||
// TODO(Franck): Use helper functions from xmr-btc instead of re-writing them
|
||||
// here
|
||||
pub async fn wait_for_locked_bitcoin<W>(
|
||||
lock_bitcoin_txid: bitcoin::Txid,
|
||||
bitcoin_wallet: Arc<W>,
|
||||
|
Loading…
Reference in New Issue
Block a user