From c2ca85ef30fc9bc3b8c7571cd89975f1228db672 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Fri, 14 Jun 2024 14:51:10 -0400 Subject: [PATCH] Fix max_element_count for signature inputs (#123) --- src/rpc/daemon_zmq.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rpc/daemon_zmq.cpp b/src/rpc/daemon_zmq.cpp index b468e73..9e7bab0 100644 --- a/src/rpc/daemon_zmq.cpp +++ b/src/rpc/daemon_zmq.cpp @@ -163,9 +163,9 @@ namespace rct using rf_min_size = wire::min_element_sizeof; using bf_max = wire::max_element_count; using bf_plus_max = wire::max_element_count; - using mlsags_max = wire::max_element_count<256>; - using clsags_max = wire::max_element_count<256>; - using pseudo_outs_max = wire::max_element_count<256>; + using mlsags_max = max_inputs_per_tx; + using clsags_max = max_inputs_per_tx; + using pseudo_outs_min_size = wire::min_element_sizeof; wire::object(source, wire::field("range_proofs", wire::array(std::ref(self.prunable.rangeSigs))), @@ -173,7 +173,7 @@ namespace rct wire::field("bulletproofs_plus", wire::array(std::ref(self.prunable.bulletproofs_plus))), wire::field("mlsags", wire::array(std::ref(self.prunable.MGs))), wire::field("clsags", wire::array(std::ref(self.prunable.CLSAGs))), - wire::field("pseudo_outs", wire::array(std::ref(self.pseudo_outs))) + wire::field("pseudo_outs", wire::array(std::ref(self.pseudo_outs))) ); const bool pruned =