Skip to content

Commit

Permalink
Accept any non-error acknowledgement in ics-20 as a successful one (#416
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vmarkushin authored Sep 20, 2023
1 parent 7b21f19 commit f02e231
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibc/modules/src/applications/transfer/acknowledgement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ impl Acknowledgement {

pub fn into_result(self) -> Result<String, String> {
match self {
Self::Result(r) if r == ACK_SUCCESS_B64 => Ok(r),
Self::Result(r) => Err(r),
Self::Result(r) => Ok(r),
Self::Error(e) => Err(e),
}
}
Expand Down

0 comments on commit f02e231

Please sign in to comment.