From a6d1d2435b0eb2aebc6c3ab9f9a4070c010a5c10 Mon Sep 17 00:00:00 2001 From: Yaacov Akiba Slama Date: Tue, 11 Jun 2019 10:16:43 +0300 Subject: [PATCH] Use UnknownAddressType value as default in lnwallet.AddressType --- lnwallet/interface.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lnwallet/interface.go b/lnwallet/interface.go index 01c5ceeb..3129d96b 100644 --- a/lnwallet/interface.go +++ b/lnwallet/interface.go @@ -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 (