noise: fix _msat purge leftover

This commit is contained in:
Michael Schmoock
2022-12-29 11:49:13 +01:00
parent be112f7b39
commit 7953dc0011

View File

@@ -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):