Skip to content

Commit

Permalink
fix 1155 xfers
Browse files Browse the repository at this point in the history
  • Loading branch information
ezra-sg authored and donnyquixotic committed Dec 12, 2023
1 parent 402189a commit a9582a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antelope/wallets/authenticators/EVMAuthenticator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export abstract class EVMAuthenticator {
return this.signCustomTransaction(contractAddress, [transferAbi[0]], [from, to, tokenId]);
}else if (type === ERC1155_TYPE) {
const transferAbi = erc1155Abi.filter((abi: EvmABIEntry) => abi.name === 'safeTransferFrom');
return this.signCustomTransaction(contractAddress, [transferAbi[0]], [from, to, tokenId, quantity, '0x0']);
return this.signCustomTransaction(contractAddress, [transferAbi[0]], [from, to, tokenId, quantity, '0x']);
}
} else {
throw new AntelopeError('antelope.balances.error_token_contract_not_found', { address: contractAddress });
Expand Down

0 comments on commit a9582a8

Please sign in to comment.