Open istankovic opened 3 years ago
Yes, you should never delete a node DB, unless you delete the DB of all nodes involved in a channel. But even then a withdraw could still be invalid if there was no initial balance and only incoming transfers (which are of course gone after deleting the DB)...
After deleting my node's database, I started raiden again and got the following exception:
This is most likely because there was a channel open at the time of database deletion and some transfers were made prior to that so that when the node saw the withdraw event it assumed the balance would be negative due to the empty channel state.