Skip to content

Address and value duplicated, can't remove duplicates #1501

@NReilingh

Description

@NReilingh

I created a new address in Omniwallet, and may have tried to add the same address as a "watch only" address — I can't recall exactly what I did. But after I sent some MAID to this address and the transaction was confirmed, the address was duplicated under the MAID asset.

Under the Addresses list, the one address is shown and calculated correctly, but switching to "View by Assets", the same address appears multiple times under the MaidSafeCoin asset. On this page and on the overview, the asset value is summed up for all of the duplicates. Removing the address appears to remove it from the other views, but ends up not actually affecting the MaidSafeCoin asset view.

I am not equipped to go through your codebase, but this could be treated as a database schema problem — wherever you are storing your state is not rejecting duplicate address-per-wallet values. If your database is non-relational maybe you need to do this on the application layer instead.

I have already backed up my address primary key, so I am going to just trash my old wallet and create a new one to avoid seeing the doubly- (and now triply- and quadruply- after removing and re-importing my private key) summed values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions