Skip to content

Commit

Permalink
simplify isUsedAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
harshjv committed Sep 28, 2018
1 parent 6a6bf59 commit 4873d96
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 4873d96

Please sign in to comment.