Skip to content

Commit

Permalink
add note about function method
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Mar 13, 2024
1 parent 86eb13c commit bc6a086
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mm2src/coins/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6426,7 +6426,8 @@ impl EthCoin {
.await
},
ContractType::Erc721 => {
// ERC721 contract has overloaded versions of the safeTransferFrom function
// ERC721 contract has overloaded versions of the safeTransferFrom function,
// but Contract::function method returns only the first if there are overloaded versions of the same function.
let functions = ERC721_CONTRACT
.functions_by_name("safeTransferFrom")
.map_err(|e| TransactionErr::AbiError(ERRL!("{}", e)))?;
Expand Down

0 comments on commit bc6a086

Please sign in to comment.