diff --git a/daemon/src/projection.rs b/daemon/src/projection.rs index 32c6dd606..fa8c31fb8 100644 --- a/daemon/src/projection.rs +++ b/daemon/src/projection.rs @@ -411,7 +411,7 @@ impl Cfd { tx_url_list: HashSet::new(), }, expiry_timestamp: None, - counterparty: counterparty_peer_id.expect("peer ID to be present"), + counterparty: counterparty_peer_id.unwrap_or_else(PeerId::placeholder), pending_settlement_proposal_price: None, aggregated: Aggregated::new(fee_account), network,