Use UnknownAddressType value as default in lnwallet.AddressType

This commit is contained in:
Yaacov Akiba Slama 2019-06-11 10:16:43 +03:00
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 (