Merge pull request #3187 from yaslama/UnknownAsDefaultAddressType

Use UnknownAddressType value as default in lnwallet.AddressType
This commit is contained in:
Johan T. Halseth 2019-06-17 12:18:55 +02:00 committed by GitHub
commit 7df7449c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,16 +17,16 @@ import (
type AddressType uint8
const (
// UnknownAddressType represents an output with an unknown or non-standard
// script.
UnknownAddressType AddressType = iota
// WitnessPubKey represents a p2wkh address.
WitnessPubKey AddressType = iota
WitnessPubKey
// NestedWitnessPubKey represents a p2sh output which is itself a
// nested p2wkh output.
NestedWitnessPubKey
// UnknownAddressType represents an output with an unknown or non-standard
// script.
UnknownAddressType
)
var (