plugins/spender/fundchannel.c: Make fundchannel a thin layer around multifundchannel.

Changelog-Changed: protocol: `fundchannel` now shuffles inputs and outputs, and no longer follows BIP69.
This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-08-21 17:58:20 +08:00
committed by Rusty Russell
parent f6c145d2df
commit 9587425f2d
8 changed files with 147 additions and 466 deletions

View File

@@ -784,7 +784,7 @@ def test_funding_fail(node_factory, bitcoind):
l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
# We don't have enough left to cover fees if we try to spend it all.
with pytest.raises(RpcError, match=r'Could not afford'):
with pytest.raises(RpcError, match=r'not afford'):
l1.rpc.fundchannel(l2.info['id'], funds)
# Should still be connected.