From abbe673fa43783248dc17c5f2f8ffaad8dcf1c2f Mon Sep 17 00:00:00 2001 From: Charlie Chen Date: Fri, 21 Jun 2024 09:15:35 -0500 Subject: [PATCH] fix code format --- x/crosschain/keeper/evm_hooks.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/x/crosschain/keeper/evm_hooks.go b/x/crosschain/keeper/evm_hooks.go index 5480668cc4..2fc6310800 100644 --- a/x/crosschain/keeper/evm_hooks.go +++ b/x/crosschain/keeper/evm_hooks.go @@ -288,8 +288,12 @@ func ValidateZrc20WithdrawEvent(event *zrc20.ZRC20Withdrawal, chainID int64) err if chains.IsBitcoinChain(chainID) { if event.Value.Cmp(big.NewInt(constant.BTCWithdrawalDustAmount)) < 0 { - return errorsmod.Wrapf(types.ErrInvalidWithdrawalAmount, "withdraw amount %s is less than minimum amount %d", - event.Value.String(), constant.BTCWithdrawalDustAmount) + return errorsmod.Wrapf( + types.ErrInvalidWithdrawalAmount, + "withdraw amount %s is less than minimum amount %d", + event.Value.String(), + constant.BTCWithdrawalDustAmount, + ) } addr, err := chains.DecodeBtcAddress(string(event.To), chainID) if err != nil {