You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: allowance history and open attempts are lost after a wallet restore #1583
The allowance local state (PaykitAllowanceLocalState: the attempt journal mapping each request to its payment hash or transaction id, allowance groups, and automatic-payment history) is kept only in the device keychain. It is not part of PaykitPaymentStateBackup or any other backup payload.
After restoring the wallet on another device, the SDK restores allowance accounting, but the journal and history are empty:
open allowance attempts can no longer be verified from the node, so they stay unknown and keep holding allowance capacity
"Paid automatically" totals and the "Auto-paid" tag in payment history reset
Expected behavior
A restored wallet keeps its allowance journal and automatic-payment history, or rebuilds them from the restored SDK ledger before recovery runs.
Steps to Reproduce
Grant an allowance and let a contact's request be paid automatically.
Back up the wallet, then restore it on another device.
Open the allowance: the paid total and the Auto-paid tag are gone.
Activity