From cab384f04ff176e804ac3de7dd1af74e755c001b Mon Sep 17 00:00:00 2001 From: quake Date: Thu, 21 Nov 2024 11:19:41 +0900 Subject: [PATCH] fix: channel should be public by default --- src/rpc/README.md | 2 +- src/rpc/channel.rs | 4 ++-- tests/bruno/e2e/router-pay/03-node1-node2-open-channel.bru | 1 - tests/bruno/e2e/router-pay/07-node2-node3-open-channel.bru | 1 - tests/bruno/e2e/router-pay/26-node2-node1-open-channel.bru | 1 - .../bruno/e2e/udt-router-pay/03-node1-node2-open-channel.bru | 1 - .../bruno/e2e/udt-router-pay/07-node2-node3-open-channel.bru | 1 - 7 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/rpc/README.md b/src/rpc/README.md index 9f140e95d..9ff443c12 100644 --- a/src/rpc/README.md +++ b/src/rpc/README.md @@ -148,7 +148,7 @@ Attempts to open a channel with a peer. * `peer_id` - PeerId, The peer ID to open a channel with. * `funding_amount` - u128, The amount of CKB or UDT to fund the channel with. -* `public` - `Option`, Whether this is a public channel (will be broadcasted to network, and can be used to forward TLCs), an optional parameter (default value false). +* `public` - `Option`, Whether this is a public channel (will be broadcasted to network, and can be used to forward TLCs), an optional parameter, default value is true. * `funding_udt_type_script` - `Option