Skip to content

Commit 357a8b0

Browse files
committed
Fix PR comments
By @tnull and @JssDWt
1 parent d30aa2b commit 357a8b0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

02-peer-protocol.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ The sending node:
11911191
- If it wants the receiving node to contribute to the funding transaction
11921192
using `option_will_fund`:
11931193
- MUST send `request_funding` containing one of the `lease_type`s
1194-
advertised by the receiving node in their [liquidity ads](07-routing-gossip.md#liquidity-ads).
1194+
supported by the receiving node.
11951195
- MUST set `requested_sats` to the amount of sats it wants to pay for at
11961196
the advertised lease rate.
11971197

@@ -1283,19 +1283,20 @@ The accepting node:
12831283
- MAY respond with a `funding_satoshis` value of zero.
12841284
- If it requires the opening node to only use confirmed inputs:
12851285
- MUST set `require_confirmed_inputs`
1286-
- If the `request_funding` tlv was sent in `open_channel2`:
1286+
- If the `request_funding` TLV was sent in `open_channel2`:
12871287
- If it does not want to contribute funds or to be paid for its
12881288
funding contributions:
1289-
- SHOULD omit the `provide_funding` tlv.
1289+
- SHOULD omit the `provide_funding` TLV.
12901290
- Otherwise, if it decides to be paid for its contributions:
1291-
- MUST include the `provide_funding` tlv.
1291+
- MUST include the `provide_funding` TLV.
12921292
- MUST set `funding_satoshis` to a value greater than `0`.
12931293
- MAY set `funding_satoshis` less or more than `requested_sats`.
1294-
- MUST fill the `provide_funding` tlv with a lease witness that
1294+
- MUST fill the `provide_funding` TLV with a lease witness that
12951295
matches the lease from `request_funds` ([liquidity ads](07-routing-gossip.md#liquidity-ads)).
12961296

12971297
The receiving node:
12981298
- MAY fail the negotiation if:
1299+
- It sent `request_funding` and `provide_funding` is not set.
12991300
- It sent `request_funding` and `provide_funding` is set and:
13001301
- `funding_satoshis` is smaller than requested.
13011302
- MUST fail the negotiation if:

0 commit comments

Comments
 (0)