electrum

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

commit 517e19ebabf7ccf977e2fa35323836fce625096a
parent 1363dfb522a46881125e6764873b86167a65d191
Author: Janus <ysangkok@gmail.com>
Date:   Wed,  2 May 2018 12:38:54 +0200

test_lnbase_online: pass password=None to channel_establishment_flow

Diffstat:
Mlib/tests/test_lnbase_online.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tests/test_lnbase_online.py b/lib/tests/test_lnbase_online.py @@ -52,7 +52,7 @@ if __name__ == "__main__": async def async_test(): payment_preimage = bytes.fromhex("01"*32) RHASH = sha256(payment_preimage) - openchannel = await peer.channel_establishment_flow(wallet, config, funding_satoshis, push_msat, temp_channel_id=os.urandom(32)) + openchannel = await peer.channel_establishment_flow(wallet, config, None, funding_satoshis, push_msat, temp_channel_id=os.urandom(32)) expected_received_sat = 400000 pay_req = lnencode(LnAddr(RHASH, amount=Decimal("0.00000001")*expected_received_sat, tags=[('d', 'one cup of coffee')]), peer.privkey[:32]) print("payment request", pay_req)