Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Jul 8, 2018
1 parent 562f1a7 commit 3d5481c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions hdwallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,7 @@ func (w *Wallet) Derive(path accounts.DerivationPath, pin bool) (accounts.Accoun
// explicitly pin to the wallet manually. To avoid chain head monitoring, self
// derivation only runs during account listing (and even then throttled).
func (w *Wallet) SelfDerive(base accounts.DerivationPath, chain ethereum.ChainStateReader) {
/*
w.stateLock.Lock()
defer w.stateLock.Unlock()
w.deriveNextPath = make(accounts.DerivationPath, len(base))
copy(w.deriveNextPath[:], base[:])
w.deriveNextAddr = common.Address{}
w.deriveChain = chain
*/
// TODO: self derivation
}

// SignHash implements accounts.Wallet, which allows signing arbitrary data.
Expand Down

0 comments on commit 3d5481c

Please sign in to comment.