mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-13 07:37:22 +01:00
Merge pull request #3187 from yaslama/UnknownAsDefaultAddressType
Use UnknownAddressType value as default in lnwallet.AddressType
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user