mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 14:12:50 +02:00
multi: populate both string and byte TXID in lnrpc.Outpoint
This commit adds a a new `MarshalOutPoint` helper in the `lnrpc` package that can be used to convert a `wire.Outpoint` to an `lnrpc.Outpoint`. By using this helper, we are less likely to forget to populate both the string and byte form of the TXID.
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
wtdb.BackupIDs](https://github.com/lightningnetwork/lnd/pull/7623) instead of
|
||||
the entire retribution struct. This reduces the amount of data that needs to
|
||||
be held in memory.
|
||||
|
||||
## Misc
|
||||
|
||||
* [Ensure that both the byte and string form of a TXID is populated in the
|
||||
lnrpc.Outpoint message](https://github.com/lightningnetwork/lnd/pull/7624).
|
||||
|
||||
# Contributors (Alphabetical Order)
|
||||
|
||||
|
Reference in New Issue
Block a user