-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
remove %1 fee by internal invoice #294
Comments
You can now set fees in the config.js file on version 1.4.0 forwardReserveFee: 0.01, // default 0.01 |
where can I find config.js on umbrel directory? |
and can I see who gets intrahubfee? |
in folder lndhub/config.js You can adjust fees intrahubfee is for all accounts connected to the LndHub instance |
docker exec -it "mycontainer" bash and nano config.js |
As the code stands right now, we cannot set the internal hub fee to zero. Setting Lines 19 to 25 in 05eace7
Perhaps a more robust check on whether the variable is defined is needed. |
yeah a change was made in good faith here : |
Finally I found a workaround to set fees to zero. dirty but it works as long you don't restart umbrel. |
@hazrulnizam you are right. |
What will happen if we move the if statement:
https://github.com/BlueWallet/LndHub/blob/master/controllers/api.js#L238
to the regular lightning network logic:
https://github.com/BlueWallet/LndHub/blob/master/controllers/api.js#L290
In the end we don't need to check internal for the fee, am I right?
The text was updated successfully, but these errors were encountered: