Abandoning deposit on update #117

Closed
opened 2017-05-05 23:28:22 +02:00 by oakey22 · 6 comments
oakey22 commented 2017-05-05 23:28:22 +02:00 (Migrated from github.com)

The Issue

When updating a claim the deposit is returned to the wallet as if it is a new claim and the old one is abandoned. If you enter 10 LBC when you have a previous claim of 500, the 500 gets returned and 10 is deducted.

Steps to reproduce

  1. Make claim on lbry://anyurlhere
    2.Update claim for lbry://anyurlhere

Expected behaviour

Should update claim and not abandon the old one and not return the deposit.

Actual behaviour

Returning original deposit even on an update

System Configuration

{
"id": null,
"jsonrpc": "2.0",
"result": {
"build": "rc",
"ip": "86.145.xx.xxx",
"lbrynet_version": "0.10.3rc1",
"lbryschema_version": "0.0.4",
"lbryum_version": "2.7.21",
"os_release": "4.4.0-75-generic",
"os_system": "Linux",
"platform": "Linux-4.4.0-75-generic-x86_64-with-Ubuntu-16.04-xenial",
"processor": "x86_64",
"python_version": "2.7.12"

  • LBRY App version: 0.10.0
  • Operating system: Linux Ubuntu 16.04
<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-app/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on Slack at https://slack.lbry.io --> ## The Issue When updating a claim the deposit is returned to the wallet as if it is a new claim and the old one is abandoned. If you enter 10 LBC when you have a previous claim of 500, the 500 gets returned and 10 is deducted. ### Steps to reproduce 1. Make claim on lbry://anyurlhere 2.Update claim for lbry://anyurlhere ### Expected behaviour Should update claim and not abandon the old one and not return the deposit. ### Actual behaviour Returning original deposit even on an update ## System Configuration { "id": null, "jsonrpc": "2.0", "result": { "build": "rc", "ip": "86.145.xx.xxx", "lbrynet_version": "0.10.3rc1", "lbryschema_version": "0.0.4", "lbryum_version": "2.7.21", "os_release": "4.4.0-75-generic", "os_system": "Linux", "platform": "Linux-4.4.0-75-generic-x86_64-with-Ubuntu-16.04-xenial", "processor": "x86_64", "python_version": "2.7.12" - LBRY App version: 0.10.0 - Operating system: Linux Ubuntu 16.04
kaykurokawa commented 2017-05-07 20:10:12 +02:00 (Migrated from github.com)

This is the expected behavior for updates.
Amounts stored in the claim before the update should be returned to you, if you update the claim amount to be more than the previous claim.

This is the expected behavior for updates. Amounts stored in the claim before the update should be returned to you, if you update the claim amount to be more than the previous claim.
oakey22 commented 2017-05-07 23:28:24 +02:00 (Migrated from github.com)

The problem is when you only have say 10 LBC in your wallet and you have a claim already of 100LBC it will not let you update it to 100 LBC as you do not have over 100 in your account, you have to set an amount that lower which is silly.

The problem is when you only have say 10 LBC in your wallet and you have a claim already of 100LBC it will not let you update it to 100 LBC as you do not have over 100 in your account, you have to set an amount that lower which is silly.
kauffj commented 2017-05-08 17:08:47 +02:00 (Migrated from github.com)

@kaykurokawa and @oakey22 I think you're both right. Kay is speaking of things at the API level, where this is probably proper behavior, but we need to improve this at the app level, where this is clearly a UX issue.

@kaykurokawa and @oakey22 I think you're both right. Kay is speaking of things at the API level, where this is probably proper behavior, but we need to improve this at the app level, where this is clearly a UX issue.
kaykurokawa commented 2017-05-08 17:47:59 +02:00 (Migrated from github.com)

I can confirm that if you lack the LBC in your wallet but have enough in a claim, it will not let you update.

This is a bug in lbrynet where the app is being overzealous in checking for amounts. There is support in lbryum to let you update by using the amount already contained in a claim.

I can confirm that if you lack the LBC in your wallet but have enough in a claim, it will not let you update. This is a bug in lbrynet where the app is being overzealous in checking for amounts. There is support in lbryum to let you update by using the amount already contained in a claim.
tzarebczan commented 2017-05-30 01:17:19 +02:00 (Migrated from github.com)

@kaykurokawa @finer9 is this on the list of features / to do?

@kaykurokawa @finer9 is this on the list of features / to do?
kauffj commented 2017-06-30 22:40:15 +02:00 (Migrated from github.com)

I don't think anything can be done here without a change to lbrynet, so I moved it there: https://github.com/lbryio/lbry/issues/748

I don't think anything can be done here without a change to lbrynet, so I moved it there: https://github.com/lbryio/lbry/issues/748
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#117
No description provided.