mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
lnwire21: update Msat and TrueBoolean
Add the TrueBoolean type along with its Record method. Also update the Millisatoshi type with a Record method. Both of these will be used in an upcoming commit which adjusts a mission control migration to use pure TLV types.
This commit is contained in:
@@ -411,7 +411,7 @@ func decodeDisableFlags(r io.Reader, val interface{}, buf *[8]byte,
|
||||
}
|
||||
|
||||
// TrueBoolean is a record that indicates true or false using the presence of
|
||||
// the record. If the record is absent, it indicates false. If it is presence,
|
||||
// the record. If the record is absent, it indicates false. If it is present,
|
||||
// it indicates true.
|
||||
type TrueBoolean struct{}
|
||||
|
||||
|
Reference in New Issue
Block a user