Remove devil comment.

This commit is contained in:
Josh Rickmar 2014-03-03 18:15:05 -05:00
parent 2e76bcd159
commit c27f52e068

View file

@ -254,10 +254,9 @@ func (am *AccountManager) BlockNotify(bs *wallet.BlockStamp) {
// scheduled to be written to disk.. // scheduled to be written to disk..
func (am *AccountManager) RecordSpendingTx(tx_ *btcutil.Tx, block *tx.BlockDetails) { func (am *AccountManager) RecordSpendingTx(tx_ *btcutil.Tx, block *tx.BlockDetails) {
for _, a := range am.AllAccounts() { for _, a := range am.AllAccounts() {
// TODO(jrick) this is WRONG -- should not be adding it // TODO(jrick): This needs to iterate through each txout's
// for each account. Fix before multiple account support // addresses and find whether this account's keystore contains
// actually works. Maybe a single txstore for all accounts // the any of the addresses this tx sends to.
// isn't a half bad idea.
a.TxStore.InsertSignedTx(tx_, block) a.TxStore.InsertSignedTx(tx_, block)
am.ds.ScheduleTxStoreWrite(a) am.ds.ScheduleTxStoreWrite(a)
} }