tln: fix opening of channels (NameErrors) - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 8bd6dc242556e763b45572b771488b161d3d03dd (DIR) parent bdf36ac6494cec6c3c537d3a64bb58eacdd55bee (HTM) Author: Janus <ysangkok@gmail.com> Date: Thu, 4 Oct 2018 15:19:34 +0200 ln: fix opening of channels (NameErrors) Diffstat: M electrum/lnbase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/electrum/lnbase.py b/electrum/lnbase.py t@@ -484,7 +484,7 @@ class Peer(PrintError): chan.set_state('DISCONNECTED') self.network.trigger_callback('channel', chan) - def make_local_config(self, funding_msat, push_msat, initiator: HTLCOwner, password): + def make_local_config(self, funding_sat, push_msat, initiator: HTLCOwner, password): # see lnd/keychain/derivation.go keyfamilymultisig = 0 keyfamilyrevocationbase = 1 t@@ -520,7 +520,7 @@ class Peer(PrintError): @aiosafe async def channel_establishment_flow(self, password, funding_sat, push_msat, temp_channel_id, sweep_address): await self.initialized - local_config = self.make_local_config(funding_msat, push_msat, LOCAL, password) + local_config = self.make_local_config(funding_sat, push_msat, LOCAL, password) # amounts local_feerate = self.current_feerate_per_kw() # TODO derive this?