electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 28c5825f415ba115f57dbf060743734013a8ac07
parent 54ef6db762b5ea120a59af0a2470eac999c55d93
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 23 Feb 2020 17:56:01 +0100

follow-up previous commit

Diffstat:
Melectrum/lnpeer.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py @@ -611,7 +611,6 @@ class Peer(Logger): remote_sig = payload['signature'] chan.receive_new_commitment(remote_sig, []) chan.open_with_first_pcp(remote_per_commitment_point, remote_sig) - chan.set_state(channel_states.OPENING) return chan, funding_tx def create_channel_storage(self, channel_id, outpoint, local_config, remote_config, constraints): @@ -705,6 +704,7 @@ class Peer(Logger): signature=sig_64, ) chan.open_with_first_pcp(payload['first_per_commitment_point'], remote_sig) + chan.set_state(channel_states.OPENING) self.lnworker.add_channel(chan) def validate_remote_reserve(self, payload_field: bytes, dust_limit: int, funding_sat: int) -> int: