Skip to content

Commit 33804b0

Browse files
committed
adapt _scan_outputs call-sites to changed tx_outputs type
1 parent 11195ac commit 33804b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/silentpayments.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ int main(void) {
358358
n_found_outputs = 0;
359359
ret = secp256k1_silentpayments_recipient_scan_outputs(ctx,
360360
found_output_ptrs, &n_found_outputs,
361-
(const secp256k1_xonly_pubkey * const *)tx_output_ptrs, N_OUTPUTS,
361+
(const secp256k1_xonly_pubkey**)tx_output_ptrs, N_OUTPUTS,
362362
bob_scan_key,
363363
&prevouts_summary,
364364
&unlabeled_spend_pubkey,
@@ -435,7 +435,7 @@ int main(void) {
435435
n_found_outputs = 0;
436436
ret = secp256k1_silentpayments_recipient_scan_outputs(ctx,
437437
found_output_ptrs, &n_found_outputs,
438-
(const secp256k1_xonly_pubkey * const *)tx_output_ptrs, 1, /* dummy scan with one output (we only care about Bob) */
438+
(const secp256k1_xonly_pubkey**)tx_output_ptrs, 1, /* dummy scan with one output (we only care about Bob) */
439439
carol_scan_key,
440440
&prevouts_summary,
441441
&unlabeled_spend_pubkey,

0 commit comments

Comments
 (0)