From c27f52e068c81f24578cdced461db2e91f53713b Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Mon, 3 Mar 2014 18:15:05 -0500 Subject: [PATCH] Remove devil comment. --- acctmgr.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/acctmgr.go b/acctmgr.go index b8d7480..c6a6c49 100644 --- a/acctmgr.go +++ b/acctmgr.go @@ -254,10 +254,9 @@ func (am *AccountManager) BlockNotify(bs *wallet.BlockStamp) { // scheduled to be written to disk.. func (am *AccountManager) RecordSpendingTx(tx_ *btcutil.Tx, block *tx.BlockDetails) { for _, a := range am.AllAccounts() { - // TODO(jrick) this is WRONG -- should not be adding it - // for each account. Fix before multiple account support - // actually works. Maybe a single txstore for all accounts - // isn't a half bad idea. + // TODO(jrick): This needs to iterate through each txout's + // addresses and find whether this account's keystore contains + // the any of the addresses this tx sends to. a.TxStore.InsertSignedTx(tx_, block) am.ds.ScheduleTxStoreWrite(a) }