Skip to content

Commit 4ec8d37

Browse files
committed
Remove Default impl for IbcReceiveResponse
1 parent ab9dff9 commit 4ec8d37

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/std/src/ibc.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -623,18 +623,6 @@ pub struct IbcReceiveResponse<T = Empty> {
623623
pub events: Vec<Event>,
624624
}
625625

626-
// Custom implementation in order to implement it for all `T`, even if `T` is not `Default`.
627-
impl<T> Default for IbcReceiveResponse<T> {
628-
fn default() -> Self {
629-
IbcReceiveResponse {
630-
acknowledgement: Binary::default(),
631-
messages: vec![],
632-
attributes: vec![],
633-
events: vec![],
634-
}
635-
}
636-
}
637-
638626
impl<T> IbcReceiveResponse<T> {
639627
/// Create a new response with the given acknowledgement.
640628
///

0 commit comments

Comments
 (0)