Open danarchos opened 3 years ago
Trying to send a keysend payment with sendPaymentV2 as below.
sendPaymentV2
const response = await rpc.sendPaymentV2({ dest: Buffer.from(pubKey, "hex"), amt: 210, allowSelfPayment: true, timeoutSeconds: 30, paymentHash: preimage.toString("base64"), destCustomRecords: [[5482373484, Buffer.from(preimage)]], });
I am using the key 5482373484 but getting back an error:
5482373484
no custom records with types below 65536 allowed
Trying to send a keysend payment with
sendPaymentV2
as below.I am using the key
5482373484
but getting back an error:no custom records with types below 65536 allowed