We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d42b4 commit b2e3f8eCopy full SHA for b2e3f8e
src/PeerPayClient.ts
@@ -59,6 +59,7 @@ export interface PaymentToken {
59
}
60
transaction: AtomicBEEF
61
amount: number
62
+ outputIndex?: number
63
64
65
/**
@@ -68,6 +69,7 @@ export interface IncomingPayment {
68
69
messageId: string
70
sender: string
71
token: PaymentToken
72
73
74
75
@@ -296,7 +298,7 @@ export class PeerPayClient extends MessageBoxClient {
296
298
derivationSuffix: payment.token.customInstructions.derivationSuffix,
297
299
senderIdentityKey: payment.sender
300
},
- outputIndex: STANDARD_PAYMENT_OUTPUT_INDEX,
301
+ outputIndex: payment.token.outputIndex ?? STANDARD_PAYMENT_OUTPUT_INDEX,
302
protocol: 'wallet payment'
303
}],
304
labels: ['peerpay'],
0 commit comments