Use UnknownAddressType value as default in lnwallet.AddressType
This commit is contained in:
parent
e45d4d703a
commit
a6d1d2435b
@ -17,16 +17,16 @@ import (
|
|||||||
type AddressType uint8
|
type AddressType uint8
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// UnknownAddressType represents an output with an unknown or non-standard
|
||||||
|
// script.
|
||||||
|
UnknownAddressType AddressType = iota
|
||||||
|
|
||||||
// WitnessPubKey represents a p2wkh address.
|
// WitnessPubKey represents a p2wkh address.
|
||||||
WitnessPubKey AddressType = iota
|
WitnessPubKey
|
||||||
|
|
||||||
// NestedWitnessPubKey represents a p2sh output which is itself a
|
// NestedWitnessPubKey represents a p2sh output which is itself a
|
||||||
// nested p2wkh output.
|
// nested p2wkh output.
|
||||||
NestedWitnessPubKey
|
NestedWitnessPubKey
|
||||||
|
|
||||||
// UnknownAddressType represents an output with an unknown or non-standard
|
|
||||||
// script.
|
|
||||||
UnknownAddressType
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user