From bf7732f7f5bfcd0d6568ccfcddf81113b33cd360 Mon Sep 17 00:00:00 2001 From: andreafspeziale Date: Thu, 28 Feb 2019 10:49:40 +0100 Subject: [PATCH] #43 GetAllowanceCommand bug fix --- src/commands/token/GetAllowanceCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/token/GetAllowanceCommand.js b/src/commands/token/GetAllowanceCommand.js index cdbaa85..d4308de 100644 --- a/src/commands/token/GetAllowanceCommand.js +++ b/src/commands/token/GetAllowanceCommand.js @@ -102,7 +102,7 @@ class GetAllowanceCommand extends ABaseCommand { if (privateKeyFilePath) { const privateKey = await this.extractPrivateKey(privateKeyFilePath) - ownerAddressRetrived = this.getAddressOromPrivateKey(owner, privateKey) + ownerAddressRetrived = this.getAddressFromPrivateKey(owner, privateKey) } if (draft) {