From 70ffb6ef474219106051ac0fed594ac9907db05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 29 May 2024 12:37:33 +0200 Subject: [PATCH] wasm/tx_ibc: update the shielded transfer --- wasm/tx_ibc/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasm/tx_ibc/src/lib.rs b/wasm/tx_ibc/src/lib.rs index a91ef16f916..e131a90c9a5 100644 --- a/wasm/tx_ibc/src/lib.rs +++ b/wasm/tx_ibc/src/lib.rs @@ -13,7 +13,7 @@ fn apply_tx(ctx: &mut Ctx, tx_data: BatchedTx) -> TxResult { ibc::ibc_actions(ctx).execute(&data).into_storage_result()?; if let Some(masp_section_ref) = - transfer.and_then(|transfer| transfer.shielded) + transfer.map(|transfer| transfer.shielded_section_hash) { let shielded = tx_data .tx