Return address from import key in same format as get

This commit is contained in:
nolash
2021-03-31 12:13:04 +02:00
parent b3d2ab4703
commit 2caa0ba755
6 changed files with 22 additions and 12 deletions

View File

@@ -37,4 +37,4 @@ class DictKeystore(Keystore):
address_hex_clean = strip_0x(address_hex)
self.keys[address_hex_clean] = pk.secret
logg.debug('added key {}'.format(address_hex))
return address_hex
return address_hex_clean