Skip to content

Commit

Permalink
comment unused lines in account
Browse files Browse the repository at this point in the history
  • Loading branch information
koko37 committed Aug 13, 2024
1 parent a48a5b2 commit b7a2ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class EvmAccount {
const { gasPrice } = await this.provider.getFeeData();
this.gasPrice = gasPrice;
}

/*
async nativeCurrency() {
const balance = await this.provider.getBalance(this.address);
return ethers.formatEther(balance);
Expand All @@ -46,7 +46,7 @@ class EvmAccount {
const tx = await erc20.connect(this.account).transfer(to, amount);
await tx.wait();
}

*/
async populateTransferErc20(token, to, amount) {
const erc20 = new Contract(token, IERC20.abi, this.provider);
const result = await erc20
Expand Down

0 comments on commit b7a2ef7

Please sign in to comment.