Skip to content

TODO: Check denomination optimization in _swap_proof_denominations #29

@shroominic

Description

@shroominic

TODO Location

sixty_nuts/wallet.py:1120

Priority

🟢 Low Priority - Optimization

Current Code

# TODO: Implement this
# check if proofs are already in target denominations
# return proofs if they are

What needs to be done

  • Add optimization to skip swap if proofs already have target denominations
  • Compare current denominations with target before swapping
  • Save unnecessary mint API calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions