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:
Franck Royer 2020-12-15 16:51:23 +11:00
parent 84bec0631b
commit 19066200d1
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -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>,