mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 02:43:01 +02:00
routing: use Identifier in place of PaymentHash
Since we want to support AMP payment using a different unique payment identifier (AMP payments don't go to one specific hash), we change the nomenclature to be Identifier instead of PaymentHash.
This commit is contained in:
@@ -23,6 +23,11 @@ func TestRequestRoute(t *testing.T) {
|
||||
FeeLimit: 1000,
|
||||
}
|
||||
|
||||
var paymentHash [32]byte
|
||||
if err := payment.SetPaymentHash(paymentHash); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
session, err := newPaymentSession(
|
||||
payment,
|
||||
func() (map[uint64]lnwire.MilliSatoshi,
|
||||
|
Reference in New Issue
Block a user