From c2b86d44b940f64bf04c4ea587877a96fc9cb638 Mon Sep 17 00:00:00 2001 From: Francisco de Borja Aranda Castillejo Date: Tue, 8 Oct 2024 12:52:48 +0200 Subject: [PATCH] fix unit testing --- precompiles/bank/method_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precompiles/bank/method_test.go b/precompiles/bank/method_test.go index b556c57720..f06027cd8a 100644 --- a/precompiles/bank/method_test.go +++ b/precompiles/bank/method_test.go @@ -551,7 +551,7 @@ func allowBank(t *testing.T, ts testSuite, amount *big.Int) { fungibletypes.ModuleAddressZEVM, ts.zrc20Address, "approve", - []interface{}{ts.bankContract.Address(), amount}, + []interface{}{fungibletypes.ModuleAddressZEVM, amount}, ) require.NoError(t, err, "error allowing bank to spend ZRC20 tokens")