lib/reth/account.rb
##
# Unlock the account with a password.
#
# If the account is already unlocked, nothing happens, even if the
# password is wrong.
#
# @raise [ValueError] (originating from `Keystore.decode_json`) if the
# password is wrong and the account is locked
#
Unlock the account with a password.
If the account is already unlocked, nothing happens, even if the
password is wrong.
Unlock the account with a password . If the account is already unlocked nothing happens even if the password is wrong .
def unlock(password)
      if @locked
        @privkey = Keystore.decode_json @keystore, password
        @locked = false
        address 
      end
    end
def unlock ( password ) if @locked @privkey = Keystore . decode_json @keystore , password @locked = false address end end
Unlock the account with a password.
Unlock the account with a password .
# get address such that it stays accessible after a subsequent lock
[ValueError] (originating from `Keystore.decode_json`) if the password is wrong and the account is locked
[ ValueError ] ( originating from ` Keystore . decode_json ` ) if the password is wrong and the account is locked
password