From bffbea49c3237c7900e9c8b5c65d07eb1490040a Mon Sep 17 00:00:00 2001 From: nolash Date: Wed, 31 Mar 2021 12:58:19 +0200 Subject: [PATCH] Remove commented code --- apps/contract-migration/scripts/import_sovereign_users.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/contract-migration/scripts/import_sovereign_users.py b/apps/contract-migration/scripts/import_sovereign_users.py index 31dcf4cd..39f4143a 100644 --- a/apps/contract-migration/scripts/import_sovereign_users.py +++ b/apps/contract-migration/scripts/import_sovereign_users.py @@ -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)