You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending grin, from the sender's perspective, there is an inconsistency between grin wallet info and the owner api retrieve_summary_info endpoint.
To Reproduce
Steps to reproduce the behavior:
Send some grin to yourself using file, grin --floonet wallet send --method=file --dest=temp.json
Receive the file grin --floonet wallet receive --input=temp.json
Run grin --floonet wallet info note the UTXOs get locked up (that's good)
Run curl -v -u grin:PASSWORD --request GET --url "http://127.0.0.1:13420/v1/wallet/owner/retrieve_summary_info?refresh=true" -H 'Content-Type: application/json' where PASSWORD is from the .api_secret file. Note the outputs are consistent.
Run grin --floonet wallet info again and note that nothing has changed
Keep running the info command, note that once you get one confirm, the info command output changes (as it should) but the output from the curl command to the owner api goes IMMEDIATELY to spendable and does not wait for the change to settle. This inconsistency persists while the number of confirmations on the change is more than 1 and less than 10.
Desktop (please complete the following information):
OS: System Version: macOS 10.13.6 (17G4015) Kernel Version: Darwin 17.7.0
Version 1.0.1
The text was updated successfully, but these errors were encountered:
waynenilsen
changed the title
API Inconsistency
API Inconsistency between grin wallet info and retrieve_summary_info
Feb 21, 2019
Describe the bug
When sending grin, from the sender's perspective, there is an inconsistency between
grin wallet info
and the owner apiretrieve_summary_info
endpoint.To Reproduce
Steps to reproduce the behavior:
grin --floonet wallet send --method=file --dest=temp.json
grin --floonet wallet receive --input=temp.json
grin --floonet wallet info
note the UTXOs get locked up (that's good)curl -v -u grin:PASSWORD --request GET --url "http://127.0.0.1:13420/v1/wallet/owner/retrieve_summary_info?refresh=true" -H 'Content-Type: application/json'
where PASSWORD is from the.api_secret
file. Note the outputs are consistent.grin --floonet wallet finalize --input=temp.json.response
grin --floonet wallet info
again and note that nothing has changedDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: