From 7953dc0011ea5dfe9e135cf77ae098697d5e893d Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Thu, 29 Dec 2022 11:49:13 +0100 Subject: [PATCH] noise: fix _msat purge leftover --- noise/test_chat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noise/test_chat.py b/noise/test_chat.py index a46588f..28b429b 100644 --- a/noise/test_chat.py +++ b/noise/test_chat.py @@ -100,7 +100,7 @@ def test_msg_and_keysend(node_factory, executor): amt = 10000 # Check that l3 does not have funds initially - assert(l3.rpc.listpeers()['peers'][0]['channels'][0]['msatoshi_to_us'] == 0) + assert(l3.rpc.listpeers()['peers'][0]['channels'][0]['to_us_msat'] == 0) l1.rpc.sendmsg(l3.info['id'], "Hello world!", amt) m = l3.rpc.recvmsg(msg_id=-1) @@ -113,7 +113,7 @@ def test_msg_and_keysend(node_factory, executor): assert(p['amount'] == '10000msat') # Check that l3 actually got the funds I sent it - wait_for(lambda: l3.rpc.listpeers()['peers'][0]['channels'][0]['msatoshi_to_us'] == amt) + wait_for(lambda: l3.rpc.listpeers()['peers'][0]['channels'][0]['to_us_msat'] == amt) def test_forward_ok(node_factory, executor):