peer: fix BecomeMonitor() to use c_rbtree_move()
We cannot reassign RB-Trees anymore. We must use c_rbtree_move(),
otherwise the tree will keep stale entries. Fix the BecomeMonitor()
code to use c_rbtree_move().
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Loading
Please register or sign in to comment