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};