Skip to content

Commit

Permalink
Fixed the source of DebitError
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Nov 6, 2020
1 parent 94e2f05 commit 6ef99bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion counterpartylib/lib/messages/dispenser.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def parse (db, tx, message):
status = 'invalid: address not empty'
else:
util.debit(db, tx['source'], asset, escrow_quantity, action='open dispenser', event=tx['tx_hash'])
except exceptions.DebitError as e:
except util.DebitError as e:
status = 'invalid: inssuficient funds'

if status == 'valid':
Expand Down

0 comments on commit 6ef99bf

Please sign in to comment.