Skip to content

Commit

Permalink
remove PersistibleSet ref #255
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevAlDen committed Mar 9, 2020
1 parent 9cd854b commit 0486676
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 @@ -794,7 +794,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 0486676

Please sign in to comment.