Refactor ChainMonitor::update_channel error case