Skip to content

Commit

Permalink
Fix black linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Sep 6, 2024
1 parent 7aca5d8 commit eb8eaeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cic/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,13 @@

# Newer versions of chia should use the modern keys and the version bundled here uses the old keys
original_to_json_dict = SpendBundle.to_json_dict


def patched_to_json_dict(self, include_legacy_keys: bool = False, exclude_modern_keys: bool = False) -> Dict[str, Any]:
# Call the original method with different defaults
return original_to_json_dict(self, include_legacy_keys=include_legacy_keys, exclude_modern_keys=exclude_modern_keys)


SpendBundle.to_json_dict = patched_to_json_dict

CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"])
Expand Down

0 comments on commit eb8eaeb

Please sign in to comment.