mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 04:26:33 -05:00
rename alice::Message0 to Message1
This commit is contained in:
parent
18f326ddd1
commit
88bf080dc0
6 changed files with 16 additions and 23 deletions
|
|
@ -10,8 +10,7 @@ use crate::{
|
|||
monero,
|
||||
monero::{monero_private_key, TransferProof},
|
||||
protocol::{
|
||||
alice,
|
||||
alice::Message3,
|
||||
alice::{Message1, Message3},
|
||||
bob,
|
||||
bob::{EncryptedSignature, Message2, Message4},
|
||||
SwapAmounts,
|
||||
|
|
@ -133,7 +132,7 @@ impl State0 {
|
|||
}
|
||||
}
|
||||
|
||||
pub async fn receive<W>(self, wallet: &W, msg: alice::Message0) -> anyhow::Result<State1>
|
||||
pub async fn receive<W>(self, wallet: &W, msg: Message1) -> anyhow::Result<State1>
|
||||
where
|
||||
W: BuildTxLockPsbt + GetNetwork,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue