Skip to content

Commit

Permalink
Remove merge conflict CosmWasm#2 im rlly stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
lukerhoads committed Jul 29, 2021
1 parent 9853006 commit ace2c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/std/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ pub fn mock_ibc_packet_recv<T: Serialize>(my_channel_id: &str, data: &T) -> StdR
/// Creates a IbcPacket for testing ibc_packet_{ack,timeout}. You set a few key parameters that are
/// often parsed. If you want to set more, use this as a default and mutate other fields.
/// The difference between mock_ibc_packet_recv is if `my_channel_id` is src or dest.
pub fn mock_ibc_packet_ack(my_channel_id: &str, data: &impl Serialize) -> StdResult<IbcPacket> {
pub fn mock_ibc_packet_ack<T: Serialize>(my_channel_id: &str, data: &T) -> StdResult<IbcPacket> {
use serde::Serialize;

Ok(IbcPacket {
Expand Down

0 comments on commit ace2c36

Please sign in to comment.