Set default password on keyfiles

This commit is contained in:
nolash
2021-04-08 11:49:13 +02:00
parent 4097f17030
commit c9521952c5
2 changed files with 4 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ def register_eth(i, u):
rpc.do(o)
pk = keystore.get(address)
keyfile_content = to_keyfile_dict(pk, '')
keyfile_content = to_keyfile_dict(pk, 'foo')
keyfile_path = os.path.join(keyfile_dir, '{}.json'.format(address))
f = open(keyfile_path, 'w')
json.dump(keyfile_content, f)