From 5d959e6f98a50b925ee931dd99c649538724da28 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Sun, 4 Sep 2022 20:17:52 +0200 Subject: [PATCH] Specify fee_base_msat and fee_base_msat as signed integers This change allows nodes to advertize a negative forwarding fee. --- 07-routing-gossip.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/07-routing-gossip.md b/07-routing-gossip.md index 711734165..8370a9df2 100644 --- a/07-routing-gossip.md +++ b/07-routing-gossip.md @@ -423,8 +423,8 @@ of *relaying* payments, not *sending* payments. When making a payment * [`byte`:`channel_flags`] * [`u16`:`cltv_expiry_delta`] * [`u64`:`htlc_minimum_msat`] - * [`u32`:`fee_base_msat`] - * [`u32`:`fee_proportional_millionths`] + * [`i32`:`fee_base_msat`] + * [`i32`:`fee_proportional_millionths`] * [`u64`:`htlc_maximum_msat`] The `channel_flags` bitfield is used to indicate the direction of the channel: it