Add files via upload

This commit is contained in:
Isaacdelly
2022-11-22 14:55:07 -08:00
committed by GitHub
parent 88f38cdc03
commit 16a22e28ff

View File

@@ -71,7 +71,7 @@ def main(database, args):
if address[-args['substring']:] in database:
for filename in os.listdir(DATABASE):
with open(DATABASE + filename) as file:
if address in file:
if address in file.read():
with open('plutus.txt', 'a') as file:
file.write('hex private key: ' + str(private_key) + '\n' +
'WIF private key: ' + str(private_key_to_wif(private_key)) + '\n'