Remove commented code

This commit is contained in:
nolash 2021-03-31 12:58:19 +02:00
parent 5769b9f9ac
commit bffbea49c3
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -105,7 +105,6 @@ def register_eth(i, u):
(tx_hash_hex, o) = c.add(account_registry_address, signer_address, address)
logg.debug('o {}'.format(o))
rpc.do(o)
#r = rpc.wait(tx_hash_hex)
pk = keystore.get(address)
keyfile_content = to_keyfile_dict(pk, '')
@ -165,8 +164,6 @@ if __name__ == '__main__':
f.write(json.dumps(o))
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_filepath = os.path.join(meta_dir, '{}.json'.format(new_address_clean.upper()))
os.symlink(os.path.realpath(filepath), meta_filepath)