Skip to content

Commit

Permalink
simplify isUsedAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
harshjv authored and matthewjablack committed Sep 28, 2018
1 parent fb289c6 commit 9884bcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Client.js
Expand Up @@ -353,9 +353,7 @@ export default class Client {
* Rejects with InvalidProviderResponseError if provider's response is invalid.
*/
async isUsedAddress (address) {
const isUsed = await this.getMethod('isUsedAddress')(address)

return isUsed
return this.getMethod('isUsedAddress')(address)
}

/**
Expand Down

0 comments on commit 9884bcc

Please sign in to comment.