mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-26 16:25:57 +01:00
Merge pull request #82 from getAlby/fixed-fee-limit
Set fixed fee limit
This commit is contained in:
@@ -102,10 +102,13 @@ func (svc *LndhubService) SendInternalPayment(tx *bun.Tx, invoice *models.Invoic
|
||||
|
||||
func (svc *LndhubService) SendPaymentSync(tx *bun.Tx, invoice *models.Invoice) (SendPaymentResponse, error) {
|
||||
sendPaymentResponse := SendPaymentResponse{}
|
||||
// TODO: set fee limit
|
||||
// TODO: set dynamic fee limit
|
||||
feeLimit := lnrpc.FeeLimit{
|
||||
Limit: &lnrpc.FeeLimit_Percent{
|
||||
Percent: 2,
|
||||
//Limit: &lnrpc.FeeLimit_Percent{
|
||||
// Percent: 2,
|
||||
//},
|
||||
Limit: &lnrpc.FeeLimit_Fixed{
|
||||
Fixed: 300,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user