From 72d7dda583faeb1bafcf1c9e00047f3f798a5f36 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Mon, 3 Feb 2014 13:01:17 -0500 Subject: [PATCH] Remove unused function. --- account.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/account.go b/account.go index ae59f91..d110c3f 100644 --- a/account.go +++ b/account.go @@ -598,20 +598,3 @@ func ReqSpentUtxoNtfn(u *tx.Utxo) { NotifySpent(CurrentServerConn(), (*btcwire.OutPoint)(&u.Out)) } - -// accountdir returns the directory containing an account's wallet, utxo, -// and tx files. -// -// This function is deprecated and should only be used when looking up -// old (before version 0.1.1) account directories so they may be updated -// to the new directory structure. -func accountdir(name string, cfg *config) string { - var adir string - if name == "" { // default account - adir = "btcwallet" - } else { - adir = fmt.Sprintf("btcwallet-%s", name) - } - - return filepath.Join(cfg.DataDir, adir) -}