Skip to content

Commit

Permalink
Fixed double base64 encoding #4
Browse files Browse the repository at this point in the history
  • Loading branch information
valcanobacon committed Feb 1, 2022
1 parent 2a02e5d commit 2c30eee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.macaroon
tls.cert
*.cert
__pycache__/
*.pyc
venv/
Expand All @@ -9,4 +9,4 @@ dist/
*.tar.gz
.DS_Store
__MACOSX/
.scratch/
.scratch/
1 change: 0 additions & 1 deletion src/services/lightning_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ def value_to_record(value: ValueForValue):

value = json.dumps({k: v for k, v in value.items() if v is not None})
value = value.encode("utf8")
value = base64.b64encode(value)
return value

def request_generator(invoice: BoostInvoice):
Expand Down

0 comments on commit 2c30eee

Please sign in to comment.