diff --git a/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java b/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java index 8b2de65..a9f76e1 100755 --- a/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java +++ b/src/main/java/io/zksync/protocol/JsonRpc2_0ZkSync.java @@ -233,8 +233,8 @@ public Transaction getTransferTransaction(TransferTransaction tx, TransactionMan if (tx.tokenAddress == null || tx.tokenAddress == ZkSyncAddresses.ETH_ADDRESS){ return new Transaction(tx.from, tx.to, BigInteger.ZERO, gasPrice, tx.amount, "0x", meta); } - ERC20 token = ERC20.load(tx.tokenAddress, this, transactionManager, gasProvider); - String data = token.encodeTransfer(tx.to, tx.amount); +// ERC20 token = ERC20.load(tx.tokenAddress, this, transactionManager, gasProvider); + String data = ERC20.encodeTransfer(tx.to, tx.amount); BigInteger value = tx.options.getValue(); if (tx.tokenAddress != null && tx.tokenAddress != ZkSyncAddresses.ETH_ADDRESS){ value = BigInteger.ZERO;