Remove commented code
This commit is contained in:
parent
5769b9f9ac
commit
bffbea49c3
@ -105,7 +105,6 @@ def register_eth(i, u):
|
|||||||
(tx_hash_hex, o) = c.add(account_registry_address, signer_address, address)
|
(tx_hash_hex, o) = c.add(account_registry_address, signer_address, address)
|
||||||
logg.debug('o {}'.format(o))
|
logg.debug('o {}'.format(o))
|
||||||
rpc.do(o)
|
rpc.do(o)
|
||||||
#r = rpc.wait(tx_hash_hex)
|
|
||||||
|
|
||||||
pk = keystore.get(address)
|
pk = keystore.get(address)
|
||||||
keyfile_content = to_keyfile_dict(pk, '')
|
keyfile_content = to_keyfile_dict(pk, '')
|
||||||
@ -165,8 +164,6 @@ if __name__ == '__main__':
|
|||||||
f.write(json.dumps(o))
|
f.write(json.dumps(o))
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
#old_address = to_checksum_address(add_0x(y[:len(y)-5]))
|
|
||||||
#fi.write('{},{}\n'.format(new_address, old_address))
|
|
||||||
meta_key = generate_metadata_pointer(bytes.fromhex(new_address_clean), 'cic.person')
|
meta_key = generate_metadata_pointer(bytes.fromhex(new_address_clean), 'cic.person')
|
||||||
meta_filepath = os.path.join(meta_dir, '{}.json'.format(new_address_clean.upper()))
|
meta_filepath = os.path.join(meta_dir, '{}.json'.format(new_address_clean.upper()))
|
||||||
os.symlink(os.path.realpath(filepath), meta_filepath)
|
os.symlink(os.path.realpath(filepath), meta_filepath)
|
||||||
|
Loading…
Reference in New Issue
Block a user