Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 24 additions & 27 deletions PyBlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,17 +638,16 @@ def aaccPPiLNBits():
nn = str(rsh)
dd = json.loads(nn)
db = dd['paid']
if db is True:
clear()
blogo()
tick()
bitLN['pd'] = "PAID"
pickle.dump(bitLN, open("lnbitSN.conf", "wb"))
createFileConnLNBits()
break
else:
if db is not True:
continue

clear()
blogo()
tick()
bitLN['pd'] = "PAID"
pickle.dump(bitLN, open("lnbitSN.conf", "wb"))
createFileConnLNBits()
break
Comment on lines -641 to +650
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function aaccPPiLNBits refactored with the following changes:

except:
clear()
blogo()
Expand Down Expand Up @@ -694,17 +693,16 @@ def aaccPPiLNPay():
nn = str(rsh)
dd = json.loads(nn)
db = dd['paid']
if db is True:
clear()
blogo()
tick()
bitLN['pd'] = "PAID"
pickle.dump(bitLN, open("lnpaySN.conf", "wb"))
createFileConnLNPay()
break
else:
if db is not True:
continue

clear()
blogo()
tick()
bitLN['pd'] = "PAID"
pickle.dump(bitLN, open("lnpaySN.conf", "wb"))
createFileConnLNPay()
break
Comment on lines -697 to +705
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function aaccPPiLNPay refactored with the following changes:

except:
clear()
blogo()
Expand Down Expand Up @@ -750,17 +748,16 @@ def aaccPPiOpenNode():
nn = str(rsh)
dd = json.loads(nn)
db = dd['paid']
if db is True:
clear()
blogo()
tick()
bitLN['pd'] = "PAID"
pickle.dump(bitLN, open("opennodeSN.conf", "wb"))
createFileConnOpenNode()
break
else:
if db is not True:
continue

clear()
blogo()
tick()
bitLN['pd'] = "PAID"
pickle.dump(bitLN, open("opennodeSN.conf", "wb"))
createFileConnOpenNode()
break
Comment on lines -753 to +760
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function aaccPPiOpenNode refactored with the following changes:

except:
clear()
blogo()
Expand Down