mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 12:36:36 -05:00
Rename bob::Message1 to Message2
As per sequence diagram.
This commit is contained in:
parent
0d1be52966
commit
18f326ddd1
6 changed files with 16 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ use crate::{
|
|||
alice,
|
||||
alice::Message3,
|
||||
bob,
|
||||
bob::{EncryptedSignature, Message4},
|
||||
bob::{EncryptedSignature, Message2, Message4},
|
||||
SwapAmounts,
|
||||
},
|
||||
};
|
||||
|
|
@ -189,8 +189,8 @@ pub struct State1 {
|
|||
}
|
||||
|
||||
impl State1 {
|
||||
pub fn next_message(&self) -> bob::Message1 {
|
||||
bob::Message1 {
|
||||
pub fn next_message(&self) -> Message2 {
|
||||
Message2 {
|
||||
tx_lock: self.tx_lock.clone(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue