Unlock unlocks the given account indefinitely.
(a accounts.Account, passphrase string)
| 315 | |
| 316 | // Unlock unlocks the given account indefinitely. |
| 317 | func (ks *KeyStore) Unlock(a accounts.Account, passphrase string) error { |
| 318 | return ks.TimedUnlock(a, passphrase, 0) |
| 319 | } |
| 320 | |
| 321 | // Lock removes the private key with the given address from memory. |
| 322 | func (ks *KeyStore) Lock(addr common.Address) error { |