diff --git a/dapp/gateway.py b/dapp/gateway.py index 55e9902b1dd6fb810af57a3e94b7f8fe8d5715db..182b12f24298a1c3c95764402535e252bb3960c4 100644 --- a/dapp/gateway.py +++ b/dapp/gateway.py @@ -66,7 +66,7 @@ class Distillery: def execute_transaction(self, contract, transaction_data, exception_message=""): es_valido = contract.call(transaction_data) - self.gateway.w3.personal.unlockAccount(settings.DISTRIBUTOR_ACCOUNT, settings.DISTRIBUTOR_PASSPHRASE, settings.UNLOCK_TIMEOUT) + self.gateway.w3.personal.unlockAccount(self.gateway.w3.toChecksumAddress(settings.DISTRIBUTOR_ACCOUNT), settings.DISTRIBUTOR_PASSPHRASE, settings.UNLOCK_TIMEOUT) if es_valido: # transaction_data['gasLimit'] = 1000000000000