Commit eb95b5cd authored by Gottfried Gaisbauer's avatar Gottfried Gaisbauer
Browse files

another newline for banknotes >= 10

parent f891da8c
......@@ -275,18 +275,20 @@ class GivecoinPrinter:
pk[2] = prespace + privkey[26:39]
pk[3] = prespace + privkey[39:] + postfix
else:
# add one new line in the beginning
# add two new lines in the beginning
if self.args.condensed:
pk[0] = prefix + "\r"
pk[1] = prespace + privkey[:18]
pk[2] = prespace + privkey[18:36]
pk[3] = prespace + " " + privkey[36:] + postfix
pk[1] = "\r"
pk[2] = prespace + privkey[:18]
pk[3] = prespace + privkey[18:36]
pk[4] = prespace + " " + privkey[36:] + postfix
else:
pk[0] = prefix + "\r"
pk[0] = prespace + privkey[:13]
pk[1] = prespace + privkey[13:26]
pk[2] = prespace + privkey[26:39]
pk[3] = prespace + privkey[39:] + postfix
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])
......
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