Skip to content

Commit

Permalink
revert an PR. merged a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
enterovipunen committed Jul 29, 2021
1 parent 4bf5f76 commit b37a5b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dogechia/daemon/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def listener():
id = decoded["request_id"]

if id in self._request_dict:
if id in self.response_dict:
if id in self._request_dict:
self.response_dict[id] = decoded
self._request_dict[id].set()

Expand Down
2 changes: 1 addition & 1 deletion dogechia/wallet/cc_wallet/cc_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ async def get_unconfirmed_balance(self, unspent_records=None) -> uint128:
removal_amount = 0

for record in unconfirmed_tx:
if record.type is TransactionType.INCOMING_TX:
if TransactionType(record.type) is TransactionType.INCOMING_TX:
addition_amount += record.amount
else:
removal_amount += record.amount
Expand Down

0 comments on commit b37a5b3

Please sign in to comment.