Commit 4b50d0ac authored by Gottfried Gaisbauer's avatar Gottfried Gaisbauer
Browse files

added 'givecoin.cash' line

parent cfa06f3f
......@@ -268,12 +268,14 @@ class GivecoinPrinter:
if self.args.condensed:
pk[0] = prefix + prespace + privkey[:18]
pk[1] = prespace + privkey[18:36]
pk[2] = prespace + " " + privkey[36:] + postfix
pk[2] = prespace + " " + privkey[36:]
pk[3] = prespace + " givecoin.cash " + postfix
else:
pk[0] = prefix + prespace + privkey[:13]
pk[1] = prespace + privkey[13:26]
pk[2] = prespace + privkey[26:39]
pk[3] = prespace + privkey[39:] + postfix
pk[3] = prespace + privkey[39:]
pk[4] = prespace + " givecoin.cash " + postfix
else:
# add two new lines in the beginning
if self.args.condensed:
......@@ -281,22 +283,16 @@ class GivecoinPrinter:
pk[1] = "\r"
pk[2] = prespace + privkey[:18]
pk[3] = prespace + privkey[18:36]
pk[4] = prespace + " " + privkey[36:] + postfix
pk[4] = prespace + " " + privkey[36:]
pk[5] = prespace + " givecoin.cash " + postfix
else:
pk[0] = prefix + "\r"
pk[1] = "\r"
pk[2] = prespace + privkey[:13]
pk[3] = prespace + privkey[13:26]
pk[4] = prespace + privkey[26:39]
pk[5] = prespace + privkey[39:] + postfix
print("pk[0]:" + pk[0])
print("pk[1]:" + pk[1])
print("pk[2]:" + pk[2])
if not self.args.condensed:
print("pk[3]:" + pk[3])
#return
pk[5] = prespace + privkey[39:]
pk[6] = prespace + " givecoin.cash " + postfix
# print the private key
for key,val in pk.items():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment