View Issue Details

IDProjectCategoryView StatusLast Update
0007318Talerwallet-corepublic2022-11-04 20:52
Reportersebasjm Assigned ToFlorian Dold  
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007318: problems creating a transfer after N times using it
Descriptionintegration test in the wallet has been updated to reproduce the step, but seems to be related to the internal state of the wallet db and the configuration of the exchange.

Using the wallet locally, after creating some transfer the wallet start to fail sometime depending of the amount chosen to create the transfer. My guess is that a high amount transfer take more coins and there are some coins that should not be used.

The error I'm getting:

2022-09-02T19:44:32.805Z operations/peer-to-peer.ts INFO resp: {
  "hint": "The respective coin did not have sufficient residual value for the operation. The \"history\" in this response provides the \"residual_value\" of the coin, which may be less than its \"original_value\".",
  "code": 1012,
  "history": [
      "type": "PURSE-DEPOSIT",
      "amount": "TESTKUDOS:5.2",
      "exchange_base_url": "http://localhost:8081/",
      "purse_pub": "3NNS0WYV4WZPDPJK2ABP5D8WS0329GN99VZB5ERX052Y35BVY6M0",
      "refunded": false,
TagsNo tags attached.


Florian Dold

2022-09-05 13:54

manager   ~0019086

The wallet didn't properly mark coins as spent in p2p payments. Should be fixed now.

The extra push payment initiation in the integration test (added by Sebastian) should test for this as well.

Issue History

Date Modified Username Field Change
2022-09-02 21:47 sebasjm New Issue
2022-09-02 21:47 sebasjm Status new => assigned
2022-09-02 21:47 sebasjm Assigned To => Florian Dold
2022-09-05 13:54 Florian Dold Status assigned => resolved
2022-09-05 13:54 Florian Dold Resolution open => fixed
2022-09-05 13:54 Florian Dold Note Added: 0019086
2022-10-20 10:47 Christian Grothoff Fixed in Version => 0.9
2022-10-20 10:48 Christian Grothoff Target Version git (master) => 0.9
2022-11-04 20:52 Christian Grothoff Status resolved => closed
2023-04-13 20:36 Florian Dold Category wallet (TS core) => wallet-core