Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received transaction reported incorrectly by wallet #2403

Closed
abrkn opened this issue Jan 17, 2019 · 1 comment
Closed

Received transaction reported incorrectly by wallet #2403

abrkn opened this issue Jan 17, 2019 · 1 comment

Comments

@abrkn
Copy link

abrkn commented Jan 17, 2019

ubuntu@ip-172-31-38-91:/opt/grin$ grin --version
grin 1.0.0

(This is on mainnet)

ubuntu@ip-172-31-38-91:/opt/grin$ grin wallet txs
Password:

Transaction Log - Account 'default' - Block Height: 1964
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Id  Type         Shared Transaction Id                 Creation Time        Confirmed?  Confirmation Time    Num.    Num.     Amount    Amount   Fee   Net         Tx
                                                                                                              Inputs  Outputs  Credited  Debited        Difference  Data
=========================================================================================================================================================================
 0   Received Tx  4dc347ca-bd97-412b-bc79-7c9cb624ba5a  2019-01-17 01:36:31  false       None                 0       1        0.001     0.0      None  0.001       None
     - Cancelled
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1   Received Tx  None                                  2019-01-17 01:42:23  true        2019-01-17 01:42:23  0       1        0.488     0.0      None  0.488       None
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2   Received Tx  None                                  2019-01-17 01:42:23  true        2019-01-17 01:42:23  0       1        0.001     0.0      None  0.001       None
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Command 'txs' completed successfully
ubuntu@ip-172-31-38-91:/opt/grin$ grin wallet info
Password:

____ Wallet Summary Info - Account 'default' as of height 1965 ____

 Total                            | 0.489000000
 Awaiting Confirmation (< 10)     | 0.000000000
 Locked by previous transaction   | 0.000000000
 -------------------------------- | -------------
 Currently Spendable              | 0.489000000

Command 'info' completed successfully

The transactions id=0 and id=2 are the same transaction, 4dc347ca-bd97-412b-bc79-7c9cb624ba5a, are the same transaction.

Why does it show as two rows, the latter missing the shared id? When querying the wallet owner API for /v1/wallet/owner/retrieve_txs?refresh&tx_id=4dc347ca-bd97-412b-bc79-7c9cb624ba5a, the transaction with id=0 is returned, marked TxReceivedCancelled . In reality, the transaction is confirmed and spendable.

@yeastplume
Copy link
Member

yeastplume commented Jan 22, 2019

They don't appear to be the same transaction as they're for different amounts. Were these placed there by a grin wallet check? (I would be 99% certain you cancelled the tx then ran grin_wallet_check, all is as it should be in this case. Please feel free to reopen otherwise.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants