From 1b19a78b488c14c3bd8758f6b0d3d077fa37f066 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 3 May 2016 00:25:01 -0700 Subject: [PATCH] waddrmgr: properly convert imported addresses --- waddrmgr/address.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/waddrmgr/address.go b/waddrmgr/address.go index 6f53be8..e3b9210 100644 --- a/waddrmgr/address.go +++ b/waddrmgr/address.go @@ -363,6 +363,9 @@ func newManagedAddressWithoutPrivKey(m *Manager, account uint32, pubKey *btcec.P if err != nil { return nil, err } + case adtImport: + // TODO(roasbeef): truly proper? + fallthrough case adtChain: address, err = btcutil.NewAddressPubKeyHash(pubKeyHash, m.chainParams) if err != nil {