From 76d7224048d761c55a00ed9768ccba6def7d442a Mon Sep 17 00:00:00 2001 From: R Date: Fri, 20 Nov 2026 02:56:12 -0300 Subject: [PATCH] crypto: paths.hpp names its one silent-payments recipient before the array, as example/silent_payment.cpp does, which settles readability-trailing-comma either way on Linux --- test/constant_time/paths.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/constant_time/paths.hpp b/test/constant_time/paths.hpp index e7ae1894..e07e041f 100644 --- a/test/constant_time/paths.hpp +++ b/test/constant_time/paths.hpp @@ -568,9 +568,8 @@ int secp256k1_silent_payments() { if (!scan_key || !spend_key || !input_key) { return check(false, "secp256k1's public keys for silent payments"); } - std::array const recipients{ - silent_payments::recipient{.scan_key = *scan_key, .spend_key = *spend_key}, - }; + silent_payments::recipient const recipient{.scan_key = *scan_key, .spend_key = *spend_key}; + std::array const recipients{recipient}; std::array outpoint{}; outpoint.fill(0x01); std::array const plain_inputs{&*input_pair};