|
|
@ -279,7 +279,7 @@ func (w *ledgerDriver) ledgerDerive(derivationPath []uint32) (common.Address, er |
|
|
|
} |
|
|
|
} |
|
|
|
hexstr := reply[1 : 1+int(reply[0])] |
|
|
|
hexstr := reply[1 : 1+int(reply[0])] |
|
|
|
|
|
|
|
|
|
|
|
// Decode the hex sting into an Ethereum address and return
|
|
|
|
// Decode the hex string into an Ethereum address and return
|
|
|
|
var address common.Address |
|
|
|
var address common.Address |
|
|
|
if _, err = hex.Decode(address[:], hexstr); err != nil { |
|
|
|
if _, err = hex.Decode(address[:], hexstr); err != nil { |
|
|
|
return common.Address{}, err |
|
|
|
return common.Address{}, err |
|
|
|