rename alice::Message0 to Message1

This commit is contained in:
Franck Royer 2021-02-04 11:56:58 +11:00
parent 18f326ddd1
commit 88bf080dc0
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4
6 changed files with 16 additions and 23 deletions

View file

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