pylint
This commit is contained in:
parent
569ac502ed
commit
a79be0513b
2 changed files with 3 additions and 3 deletions
|
@ -350,7 +350,7 @@ class BaseTransaction:
|
|||
"Cannot access net_account_balance if inputs/outputs do not "
|
||||
"have is_my_account set properly."
|
||||
)
|
||||
elif txi.is_my_account:
|
||||
if txi.is_my_account:
|
||||
balance -= txi.amount
|
||||
for txo in self.outputs:
|
||||
if txo.is_my_account is None:
|
||||
|
@ -358,7 +358,7 @@ class BaseTransaction:
|
|||
"Cannot access net_account_balance if inputs/outputs do not "
|
||||
"have is_my_account set properly."
|
||||
)
|
||||
elif txo.is_my_account:
|
||||
if txo.is_my_account:
|
||||
balance += txo.amount
|
||||
return balance
|
||||
|
||||
|
|
|
@ -243,7 +243,7 @@ class BlockchainProcess(asyncio.SubprocessProtocol):
|
|||
if b'Error:' in data:
|
||||
self.ready.set()
|
||||
raise SystemError(data.decode())
|
||||
elif b'Done loading' in data:
|
||||
if b'Done loading' in data:
|
||||
self.ready.set()
|
||||
|
||||
def process_exited(self):
|
||||
|
|
Loading…
Reference in a new issue