-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Description
Describe the bug
I am attempting to use get_stored_tx to get transaction info with id=0 from the wallets database. I am getting error code -32099 because: IO.
To Reproduce
Steps to reproduce the behavior:
- Set your log level to
DEBUGin yourgrin-wallet.toml - Make sure your wallet has some transactions in the database
- Run your wallet in owner API
grin-wallet owner_api - Run init_secure_api to establish a secure connection with the wallet
- Run get_stored_tx with
id=0
If you successfully reproduce the returned error will be
Callng get_stored_tx with params {'token': '<token_here>', 'id': 0, 'slate_id': None} failed with error code -32099 because: IOand in the logs there will be just
20221108 12:46:22.810 DEBUG grin_store::lmdb - DB Mapsize for /Users/marek/Development/open-source/grinventions/wallets/slateboy-wallet/wallet_data/db/lmdb is 134217728
20221108 12:46:22.811 DEBUG grin_wallet_impls::lifecycle::seed - Using wallet seed file at: /Users/marek/Development/open-source/grinventions/wallets/slateboy-wallet/wallet_data/wallet.seed
Expected behavior
What I expect is get_stored_tx should provide the transaction info for transaction with id=0.
Screenshots
N/A
Desktop (please complete the following information):
OS
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H1715wallet
$ grin-wallet -V
grin-wallet 5.1.0Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels