Skip to content

Commit

Permalink
todo7
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverHappened committed Aug 16, 2023
1 parent 0b84230 commit 59a872c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/neutron-sdk/src/bindings/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ pub struct Failure {
/// **ack_type** is an acknowledgement type ('ack' or 'timeout')
pub ack_type: String,
/// **packet** is an IBC Packet that was sent
pub packet: Packet,
pub packet: Option<Packet>,
/// **ack** is an acknowledgement data
pub ack: Acknowledgement,
pub ack: Option<Acknowledgement>,
}

#[derive(Serialize, Deserialize, Clone, PartialEq, Eq, JsonSchema, Debug)]
Expand All @@ -128,7 +128,6 @@ pub struct Packet {
}

/// IBC packet
/// TODO: do we need our own structure in order for it to pass through neutron
#[derive(Serialize, Deserialize, Clone, PartialEq, Eq, JsonSchema, Debug)]
#[serde(rename_all = "snake_case")]
pub struct Acknowledgement {
Expand Down

0 comments on commit 59a872c

Please sign in to comment.