Skip to content

Commit

Permalink
UPDATE comparison of operation type
Browse files Browse the repository at this point in the history
  • Loading branch information
Griffsano committed Feb 20, 2022
1 parent bcec60f commit 5485682
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/book.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,8 @@ def _read_kraken_ledgers(self, file_path: Path) -> None:
self.kraken_held_ops[refid]["appended"] = True
try:
assert (
isinstance(
op, type(self.kraken_held_ops[refid]["operation"])
)
type(op) is
type(self.kraken_held_ops[refid]["operation"])
), "operation"
assert (
op.change
Expand Down

0 comments on commit 5485682

Please sign in to comment.