This commit is contained in:
Jack Robison 2019-02-28 12:00:44 -05:00
parent 569ac502ed
commit a79be0513b
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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):