0

I am trying to work with the add_address_bookfunction https://getmonero.org/resources/developer-guides/wallet-rpc.html#add_address_book

I have noticed that I can add and get the addresses, but when I close the wallet and daemon and then reopen them, the address book is emtpy.

has anyone ran into this issue?

2
  • Are you really sure you saved the wallet ?
    – user36303
    May 6, 2018 at 12:20
  • To add, are you running monero-wallet-cli and monero-wallet-rpc concurrently with the same wallet?
    – dEBRUYNE
    May 6, 2018 at 15:33

1 Answer 1

0

Okay, so I found the problem. It was because when I close the wallet, I need to issue the stop wallet command before I close the wallet, otherwise the cache is not saved. https://getmonero.org/resources/developer-guides/wallet-rpc.html#stop_wallet

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.