mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
lnwire: add custom records field to type UpdateFulfillHtlc
- Introduce the field `CustomRecords` to the type `UpdateFulfillHtlc`. - Encode and decode the new field into the `ExtraData` field of the `update_fulfill_htlc` wire message. - Empty `ExtraData` field is set to `nil`.
This commit is contained in:
@@ -38,7 +38,6 @@ func TestNetworkResultSerialization(t *testing.T) {
|
||||
ChanID: chanID,
|
||||
ID: 2,
|
||||
PaymentPreimage: preimage,
|
||||
ExtraData: make([]byte, 0),
|
||||
}
|
||||
|
||||
fail := &lnwire.UpdateFailHTLC{
|
||||
|
Reference in New Issue
Block a user