lnwire: add InboundFee struct in-line within ChannelUpdate
#8604
Labels
enhancement
Improvements to existing features / behaviour
fees
Related to the fees paid for transactions (both LN and funding/commitment transactions)
inbound fee
Changes related to inbound routing fee
intermediate
Issues suitable for developers moderately familiar with the codebase and LN
P2
should be fixed if one has time
wire protocol
Encoding of messages for the communication between nodes
In #6703 the new inbound fee field is added. However, it isn't added directly to the struct, instead the caller must always manually copy the field into the opaque data field, and also must always manually parse it out the other end. We should make this new field uniform with the other TLC fields by adding it directly within the struct. While we're at it, we can also morph it into
tlv.OptionalRecord
.The text was updated successfully, but these errors were encountered: