Skip to content

Commit

Permalink
explicit await
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 21, 2021
1 parent e6782a5 commit 60483ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/zksync.js/src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ export class Wallet {

async getEthereumBalance(token: TokenLike): Promise<BigNumber> {
try {
return getEthereumBalance(this.ethSigner.provider, this.provider, this.cachedAddress, token);
return await getEthereumBalance(this.ethSigner.provider, this.provider, this.cachedAddress, token);
} catch (e) {
this.modifyEthersError(e);
}
Expand Down

0 comments on commit 60483ec

Please sign in to comment.