Skip to content

Commit

Permalink
fix lint =
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Oct 3, 2023
1 parent c17893b commit 958c0ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x/fungible/keeper/deposits.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ func (k Keeper) ZRC20DepositAndCallContract(
}
res, err := k.DepositZRC20AndCallContract(ctx, context, Zrc20Contract, to, amount, data)
return res, true, err
} else {
res, err := k.DepositZRC20(ctx, Zrc20Contract, to, amount)
return res, false, err
}
res, err := k.DepositZRC20(ctx, Zrc20Contract, to, amount)
return res, false, err
}

0 comments on commit 958c0ab

Please sign in to comment.