Kill last MarkAddressForAccount call and func.

This commit is contained in:
Josh Rickmar 2014-04-08 17:49:46 -05:00
parent 902bbd1111
commit abbe457ddc
3 changed files with 1 additions and 10 deletions

View file

@ -28,10 +28,6 @@ import (
"path/filepath"
)
// MarkAddressForAccount marks an address as belonging to an account.
func MarkAddressForAccount(address, account string) {
}
// Account is a structure containing all the components for a
// complete wallet. It contains the Armory-style wallet (to store
// addresses and keys), and tx and utxo stores, and a mutex to prevent

View file

@ -225,11 +225,6 @@ func openSavedAccount(name string, cfg *config) (*Account, error) {
}
}
// Mark all active payment addresses as belonging to this account.
for addr := range a.ActivePaymentAddresses() {
MarkAddressForAccount(addr, name)
}
return a, finalErr
}

View file

@ -218,7 +218,7 @@ func (a *Account) txToPairs(pairs map[string]int64, minconf int) (*CreatedTx, er
}
// Mark change address as belonging to this account.
MarkAddressForAccount(changeAddr.EncodeAddress(), a.Name())
AcctMgr.MarkAddressForAccount(changeAddr, a)
}
// Spend change.