From 0ec140034119ab149b3795ba5769969a58a626e6 Mon Sep 17 00:00:00 2001 From: dzmitry-lahoda Date: Mon, 3 Jul 2023 19:53:16 +0100 Subject: [PATCH] fmt and proper skip serde for memo --- contracts/ibc-reflect-send/src/contract.rs | 2 +- packages/std/src/ibc.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/ibc-reflect-send/src/contract.rs b/contracts/ibc-reflect-send/src/contract.rs index bd18425fb3..7ef82ec2da 100644 --- a/contracts/ibc-reflect-send/src/contract.rs +++ b/contracts/ibc-reflect-send/src/contract.rs @@ -157,7 +157,7 @@ pub fn handle_send_funds( to_address: remote_addr, amount, timeout: env.block.time.plus_seconds(PACKET_LIFETIME).into(), - memo : None, + memo: None, }; let res = Response::new() diff --git a/packages/std/src/ibc.rs b/packages/std/src/ibc.rs index 9d2c7c32b8..2c4a9a1cd1 100644 --- a/packages/std/src/ibc.rs +++ b/packages/std/src/ibc.rs @@ -37,6 +37,7 @@ pub enum IbcMsg { /// when packet times out, measured on remote chain timeout: IbcTimeout, /// optional, usually JSON + #[serde(skip_serializing_if = "Option::is_none")] memo: Option, }, /// Sends an IBC packet with given data over the existing channel.