I am trying to force a wallet init from a seed. My first attempt timed out so I immediately tried again. The error message (below) is saying the wallet has not been encrypted yet, but I think the issue is due to the fact the the daemon is currently initializing another wallet. This is noticeable when I go to unlock the wallet via siac and get
Could not unlock wallet: error when calling /wallet/unlock: another wallet rescan is already underway
I would expect the error message from the init-seed call to be a little more descriptive, as the stated error does not seem accurate.
Note: all my interactions with the daemon are via sia.js
Stack Trace or error message
{ message: 'error when calling /wallet/init/seed: wallet has not been encrypted yet' }
Expected Behavior
Something along the lines of
{ message: 'error when calling /wallet/unlock: another wallet rescan is already underway' }
How to reproduce it (as minimally and precisely as possible)
Try 2 wallet/init/seed calls back to back and do not wait for the first to finish.
Environment
Sia version:
Sia Client
Version 1.3.3
Git Revision 94ea84e
Build Time Tue Jun 12 13:54:39 EDT 2018
Sia Daemon
Version 1.3.3
Git Revision 94ea84e
Build Time Tue Jun 12 13:54:39 EDT 2018
BUG REPORT
I am trying to force a wallet init from a seed. My first attempt timed out so I immediately tried again. The error message (below) is saying the wallet has not been encrypted yet, but I think the issue is due to the fact the the daemon is currently initializing another wallet. This is noticeable when I go to unlock the wallet via
siac
and getI would expect the error message from the init-seed call to be a little more descriptive, as the stated error does not seem accurate.
Note: all my interactions with the daemon are via sia.js
Stack Trace or error message
Expected Behavior
Something along the lines of
How to reproduce it (as minimally and precisely as possible) Try 2
wallet/init/seed
calls back to back and do not wait for the first to finish.Environment
Sia version: Sia Client Version 1.3.3 Git Revision 94ea84e Build Time Tue Jun 12 13:54:39 EDT 2018 Sia Daemon Version 1.3.3 Git Revision 94ea84e Build Time Tue Jun 12 13:54:39 EDT 2018
OS: LinuxMint 19