refusing to double-subscribe subscriber
BUG REPORT
I'm using SIA-UI client on my laptop and PC and after some time one of the client instance starts to index wallet and therefore increases the number of blocks by 2 times! So, instead of 305277 I get 610554.
Stack Trace or error message
runtime/debug.Stack(0xa4, 0xe0, 0xc00657e210)
runtime/debug/stack.go:24 +0xa4
runtime/debug.PrintStack()
runtime/debug/stack.go:16 +0x29
gitlab.com/NebulousLabs/Sia/build.Critical(0xc002d5ff18, 0x1, 0x1)
gitlab.com/NebulousLabs/Sia/build/critical.go:20 +0x155
gitlab.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).ConsensusSetSubscribe(0xc0000eb600, 0x109dba0, 0xc00005e000, 0xabfffb7ae725e29, 0x7454ea5ab898ee10, 0xdf9ef756d2ebb47a, 0x4336475a8da9d67d, 0xc0003b00c0, 0x0, 0x0)
gitlab.com/NebulousLabs/Sia/modules/consensus/subscribe.go:291 +0x503
gitlab.com/NebulousLabs/Sia/modules/wallet.(*Wallet).threadedResetSubscriptions(0xc00005e000)
gitlab.com/NebulousLabs/Sia/modules/wallet/update.go:30 +0x1df
created by gitlab.com/NebulousLabs/Sia/modules/wallet.(*Wallet).ProcessConsensusChange
gitlab.com/NebulousLabs/Sia/modules/wallet/update.go:531 +0x61f
Critical error: (Sia v1.5.5, Release: standard) refusing to double-subscribe subscriber
Please submit a bug report here: https://gitlab.com/NebulousLabs/Sia/issues
Expected Behavior
Observed Behavior
How to reproduce it (as minimally and precisely as possible)
Environment
- Sia version:1.5.5
- OS:Windows 10