We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecfc99 commit 618e55bCopy full SHA for 618e55b
lightning/src/ln/channelmanager.rs
@@ -1579,13 +1579,13 @@ macro_rules! send_channel_ready {
1579
macro_rules! emit_channel_pending_event {
1580
($locked_events: expr, $channel: expr) => {
1581
if $channel.should_emit_channel_pending_event() {
1582
- $locked_events.push(events::Event::ChannelPending {
+ $locked_events.push_back((events::Event::ChannelPending {
1583
channel_id: $channel.channel_id(),
1584
former_temporary_channel_id: $channel.temporary_channel_id(),
1585
counterparty_node_id: $channel.get_counterparty_node_id(),
1586
user_channel_id: $channel.get_user_id(),
1587
funding_txo: $channel.get_funding_txo().unwrap().into_bitcoin_outpoint(),
1588
- });
+ }, None));
1589
$channel.set_channel_pending_event_emitted();
1590
}
1591
0 commit comments