File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3110,11 +3110,17 @@ where
3110
3110
fee_proportional_millionths: chan.context.get_fee_proportional_millionths(),
3111
3111
excess_data: Vec::new(),
3112
3112
};
3113
+
3114
+ // TODO(waterson): disabled this so that things work; not sure how to upstream.
3113
3115
// Panic on failure to signal LDK should be restarted to retry signing the `ChannelUpdate`.
3114
3116
// If we returned an error and the `node_signer` cannot provide a signature for whatever
3115
3117
// reason`, we wouldn't be able to receive inbound payments through the corresponding
3116
3118
// channel.
3117
- let sig = self.node_signer.sign_gossip_message(msgs::UnsignedGossipMessage::ChannelUpdate(&unsigned)).unwrap();
3119
+ let sig = self.node_signer.sign_gossip_message(msgs::UnsignedGossipMessage::ChannelUpdate(&unsigned))
3120
+ .map_err(|_| LightningError {
3121
+ err: "Could not sign channel announcement".to_owned(),
3122
+ action: msgs::ErrorAction::IgnoreError,
3123
+ })?;
3118
3124
3119
3125
Ok(msgs::ChannelUpdate {
3120
3126
signature: sig,
You can’t perform that action at this time.
0 commit comments