Update key store to new spec but keep address field for now
* Also fix address types post-rebase
This commit is contained in:
@ -185,7 +185,7 @@ func ImportBlockTestKey(privKeyBytes []byte) error {
|
||||
ecKey := ToECDSA(privKeyBytes)
|
||||
key := &Key{
|
||||
Id: uuid.NewRandom(),
|
||||
Address: PubkeyToAddress(ecKey.PublicKey),
|
||||
Address: common.BytesToAddress(PubkeyToAddress(ecKey.PublicKey)),
|
||||
PrivateKey: ecKey,
|
||||
}
|
||||
err := ks.StoreKey(key, "")
|
||||
|
Reference in New Issue
Block a user