Remove devil comment.
This commit is contained in:
parent
2e76bcd159
commit
c27f52e068
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue