Skip to content

Commit

Permalink
Remove notes from buildTransaction call for NFT custom-token (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabidshamji authored Sep 22, 2022
1 parent 27a2230 commit c03bf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nft/custom-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class CustomToken extends BaseToken {
* @param args - arguments for contract call (addresses should be wrapped with Web3.toChecksumAddress(address)
*/
async callWriteFunction(abiFunctionName: string, notes: string, ...args): Promise<CreateTransactionResponse> {
const transactionData = await this.buildTransaction(abiFunctionName, ...args, notes);
const transactionData = await this.buildTransaction(abiFunctionName, ...args);
return this.submitTransaction(transactionData, notes);
}

Expand Down

0 comments on commit c03bf5f

Please sign in to comment.