Skip to content

Commit

Permalink
remove PersistibleSet ref #353
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro Denis committed Mar 9, 2020
1 parent 3224ab0 commit 1051dfe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 138 deletions.
127 changes: 0 additions & 127 deletions src/coin/mocks/PersistibleSet.go

This file was deleted.

6 changes: 1 addition & 5 deletions src/coin/skycoin/models/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,11 +825,7 @@ func NewWalletDirectory(dirPath string) *WalletDirectory {
type WalletDirectory struct {
// Implements WallentEnv interface
WalletDir string
wltService core.PersistibleSet
}

func (wd *WalletDirectory) SetWltService(wltSrv core.PersistibleSet) {
wd.wltService = wltSrv
wltService *SkycoinLocalWallet
}

func lookupWallet(env core.WalletEnv, firstAddr string) (core.Wallet, error) {
Expand Down
5 changes: 0 additions & 5 deletions src/core/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ type WalletSet interface {
SupportedWalletTypes() []string
}

type PersistibleSet interface {
WalletSet
WalletStorage
}

// WalletStorage provides access to the underlying wallets data store
type WalletStorage interface {
// Encrypt protects wallet data using cryptography
Expand Down
1 change: 0 additions & 1 deletion src/models/walletsManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,6 @@ func (walletM *WalletManager) sendTo(wltId, destinationAddress, amount string) *
}
logWalletManager.Info("Transaction created")
return qTxn

}

func (walletM *WalletManager) signTxn(wltIds, address []string, source string, tmpPwd interface{}, index []int, qTxn *QTransaction) *QTransaction {
Expand Down

0 comments on commit 1051dfe

Please sign in to comment.