mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-04 21:45:30 +01:00
move pubkey checks to lnd client
This commit is contained in:
@@ -135,7 +135,7 @@ func (svc *LndhubService) BalanceCheck(ctx context.Context, lnpayReq *lnd.LNPayR
|
||||
}
|
||||
|
||||
func (svc *LndhubService) CalcFeeLimit(destination string, amount int64) int64 {
|
||||
if destination == svc.IdentityPubkey {
|
||||
if svc.LndClient.IsIdentityPubkey(destination) {
|
||||
return 0
|
||||
}
|
||||
limit := int64(10)
|
||||
|
||||
Reference in New Issue
Block a user