View Issue Details

IDProjectCategoryView StatusLast Update
0009161Talerwallet (iOS App)public2025-01-14 23:32
Reportert3sserakt Assigned ToMarcS  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version0.13 
Target Version1.0 
Summary0009161: Sending a small amount returns an error message.
DescriptionWhen sending a small amount ( > 1 Kudo) there is an error message displayed.
TagsNo tags attached.
Attached Files
IMG_1315.PNG (150,452 bytes)   
IMG_1315.PNG (150,452 bytes)   
IMG_1316.PNG (203,700 bytes)   
IMG_1316.PNG (203,700 bytes)   

Activities

MarcS

2024-09-03 14:34

developer   ~0023149

Problem is that the amountAvailable as reported by wallet-core is not the "spendable" amount since fees need to be added (or rather subtracted from amountAvailable). And those fees might differ for different kind of transactions...

==> wallet-core needs to return the amountSpendable for each "prepare" or "check" call, so the wallets can show the user how much they can spend instead of throwing an ugly error message.

Florian Dold

2024-10-17 09:25

manager   ~0023540

Here we want the `checkPeerPushDebitV2` request that only throws on unrecoverable panics but returns a (typed) error on insufficient balance.

Florian Dold

2025-01-14 23:32

manager   ~0023983

Wallet-core now supports checkPeerPushDebitV2 with a tagged response type ("ok" and "insufficient-balance"). It only "panics" by throwing an exception on internal errors / completely unexpected situations.

Your original bug report says that an error message is returned when the amount is too small. I can't reproduce this behavior.

Issue History

Date Modified Username Field Change
2024-09-03 13:45 t3sserakt New Issue
2024-09-03 13:45 t3sserakt Status new => assigned
2024-09-03 13:45 t3sserakt Assigned To => MarcS
2024-09-03 13:45 t3sserakt File Added: IMG_1315.PNG
2024-09-03 13:45 t3sserakt File Added: IMG_1316.PNG
2024-09-03 14:34 MarcS Note Added: 0023149
2024-09-03 14:35 MarcS Assigned To MarcS => Florian Dold
2024-10-17 09:25 Florian Dold Target Version => 1.0
2024-10-17 09:25 Florian Dold Note Added: 0023540
2025-01-14 23:32 Florian Dold Assigned To Florian Dold => MarcS
2025-01-14 23:32 Florian Dold Status assigned => feedback
2025-01-14 23:32 Florian Dold Note Added: 0023983