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:
3 files changed
+76
-1
No files matched your search
@@ -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