From 9b0fa3759ccd3778919e52722ceb842a7ea9d2d7 Mon Sep 17 00:00:00 2001 From: milad Date: Fri, 20 Feb 2026 12:35:24 +0330 Subject: [PATCH] fix bug allowing for bypassing block smart contract --- x/wbank/keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/wbank/keeper/keeper.go b/x/wbank/keeper/keeper.go index 03de797f..0d45afa0 100644 --- a/x/wbank/keeper/keeper.go +++ b/x/wbank/keeper/keeper.go @@ -146,7 +146,7 @@ func (k BaseKeeperWrapper) InputOutputCoins( return err } if k.isSmartContract(ctx, addr) { - ctx = cwasmtypes.WithSmartContractRecipient(ctx, output.Address) + ctx = cwasmtypes.WithSmartContractRecipient(ctx, addr.String()) } }