-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
If we have a pending mint operation in our database (like a cashu-send-swap) that specifies a keyset ID and the mint rotates active keysets, then we will never be able to complete that operation. It is okay for inputs to a mint operation to be from an inactive keyset, but if we are creating outputs they must be from an active keyset.
I have only noticed inactive keyset errors when the mint rotates keys in between a mint operation being drafted and being completed. Our wallet seems to handle keyset rotations well otherwise.
P.S. We should also prefer to use proofs from inactive keysets (see cashubtc/cashu-ts#370)
Reactions are currently unavailable