Wallet: determine valid amounts from mint's keys
response
#618
Labels
bug
Something isn't working
good first issue
A great way to get into Cashu development
wallet
About the Nutshell wallet
Currently, the wallet assumes that the mint will use amounts in
2^n
. This is not necessarily true, as the mint could use any amount decomposition they like (which is fine according to the protocol).The wallet should not make use of
settings.max_order
but infer this from the keys it has received from the mint. An example line inwallet.py
that needs to be fixed is:The text was updated successfully, but these errors were encountered: