web3swift icon indicating copy to clipboard operation
web3swift copied to clipboard

use erc721 safeTransferFrom will crash

Open hydraCy opened this issue 3 years ago • 1 comments

ERC721 public func safeTransferFrom(from: EthereumAddress, to: EthereumAddress, originalOwner: EthereumAddress, tokenId: BigUInt) will crash . Because the parameters count is 3 but the function.inputs. Count is 4 guard parameters.count == function.inputs.count else {return nil} Tx is nil but you use it!

hydraCy avatar Jul 27 '21 05:07 hydraCy

I am facing the same issue on the latest version. How did you resolve this?

anmassdevs avatar Jan 26 '22 08:01 anmassdevs