rpcserver+routerrpc: remove payment limit

This commit is contained in:
Joost Jager committed 2020-05-28 19:34:17 +02:00
1 parent 24c865450a
commit df7a05da84
5 files changed
+5 -49

No files matched your search

@@ -4,6 +4,7 @@ package itest
import (
"context"
"math"
"strings"
"time"
@@ -260,7 +261,7 @@ out:
// We'll send in chunks of the max payment amount. If we're
// about to send too much, then we'll only send the amount
// remaining.
toSend := int64(lnd.MaxPaymentMSat.ToSatoshis())
toSend := int64(math.MaxUint32)
if toSend+amtSent > amtToSend {
toSend = amtToSend - amtSent
}