Skip to content

Commit

Permalink
Info: Serde Rename ProgressEvent StateUpdate field to update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCharlatan committed Nov 29, 2022
1 parent 6f76b2d commit 79d8029
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/bus/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ pub struct FundingInfos {
pub enum ProgressEvent {
#[serde(rename = "message")]
Message(String),
#[serde(rename = "update")]
StateUpdate(StateReport),
#[serde(rename = "transition")]
StateTransition(StateTransition),
Expand Down
1 change: 0 additions & 1 deletion src/swapd/swap_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use crate::bus::p2p::Commit;
use crate::bus::Outcome;

#[derive(Display, Debug, Clone, StrictEncode, StrictDecode)]

pub enum AliceState {
// #[display("Start: {0:#?} {1:#?}")]
#[display("Start")]
Expand Down

0 comments on commit 79d8029

Please sign in to comment.