From 714ac383cb405e7b0d81d04c1f61f7cba4e7dc10 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 14 Jun 2018 22:03:31 -0700 Subject: [PATCH] chain: update watched/found outpoints to map to addrs --- chain/interface.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/interface.go b/chain/interface.go index 1f201d3..885f632 100644 --- a/chain/interface.go +++ b/chain/interface.go @@ -70,7 +70,7 @@ type ( Blocks []wtxmgr.BlockMeta ExternalAddrs map[waddrmgr.ScopedIndex]btcutil.Address InternalAddrs map[waddrmgr.ScopedIndex]btcutil.Address - WatchedOutPoints map[wire.OutPoint]struct{} + WatchedOutPoints map[wire.OutPoint]btcutil.Address } // FilterBlocksResponse reports the set of all internal and external @@ -85,7 +85,7 @@ type ( BlockMeta wtxmgr.BlockMeta FoundExternalAddrs map[waddrmgr.KeyScope]map[uint32]struct{} FoundInternalAddrs map[waddrmgr.KeyScope]map[uint32]struct{} - FoundOutPoints map[wire.OutPoint]struct{} + FoundOutPoints map[wire.OutPoint]btcutil.Address RelevantTxns []*wire.MsgTx }