Fix #588 Wallet list index out of range error#589
Fix #588 Wallet list index out of range error#589AlexCato wants to merge 1 commit intoJoinMarket-Org:developfrom AlexCato:fix_wallet_index_error
Conversation
|
I think I found a problem with this solution: Given there's a standard wallet with 5 mixdepths, but you start a yieldgenerator with a max_mixdepth-configuration of fewer than 5: then there will be wallet.json-file will be changed to contain the fewer index caches. Proposed solution: |
auto-detect number of mixdepths if not overridden by user
|
Changed default in wallet-tool.py to -1 now. This will auto-detect the number of mixdepths only if the user does not explicitly configure it. Therefor the default behavior is improved without any change in behavior if the user intentionally sets the parameter. |
97d2603 to
47479d5
Compare
|
utACK on this. Anyone else have any thoughts? |
|
Agreed. No conceivable negative I can see. Merging. Edit: on second thoughts, need to think a bit :) |
Uses the number of mixdepths from the wallet file