Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lookupInvoice uses base64_encode for r_hash_str #8

Open
inpay opened this issue Apr 1, 2019 · 0 comments
Open

lookupInvoice uses base64_encode for r_hash_str #8

inpay opened this issue Apr 1, 2019 · 0 comments

Comments

@inpay
Copy link

inpay commented Apr 1, 2019

r_hash_str accepted by LND REST API should be bin2hex base64_decode string

is
$url = '/v1/invoice/' . base64_encode($rHash);

should be

$url = '/v1/invoice/' . $rHash;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant