diff --git a/src/main_sm/fork_0/main/full_tracer.hpp b/src/main_sm/fork_0/main/full_tracer.hpp index 4057d9ec0..6260a0549 100644 --- a/src/main_sm/fork_0/main/full_tracer.hpp +++ b/src/main_sm/fork_0/main/full_tracer.hpp @@ -111,9 +111,7 @@ class FullTracer: public FullTracerInterface } uint64_t get_tx_number(void) { - uint64_t txNumber = finalTrace.responses.size(); - if (txNumber > 0) txNumber--; - return txNumber; + return finalTrace.responses.size(); } }; diff --git a/src/main_sm/fork_1/main/full_tracer.hpp b/src/main_sm/fork_1/main/full_tracer.hpp index 2f7989c9b..7dde5f785 100644 --- a/src/main_sm/fork_1/main/full_tracer.hpp +++ b/src/main_sm/fork_1/main/full_tracer.hpp @@ -128,9 +128,7 @@ class FullTracer: public FullTracerInterface } uint64_t get_tx_number(void) { - uint64_t txNumber = finalTrace.responses.size(); - if (txNumber > 0) txNumber--; - return txNumber; + return finalTrace.responses.size(); } }; diff --git a/src/main_sm/fork_2/main/full_tracer.hpp b/src/main_sm/fork_2/main/full_tracer.hpp index 48238c138..48beb16b6 100644 --- a/src/main_sm/fork_2/main/full_tracer.hpp +++ b/src/main_sm/fork_2/main/full_tracer.hpp @@ -128,9 +128,7 @@ class FullTracer: public FullTracerInterface } uint64_t get_tx_number(void) { - uint64_t txNumber = finalTrace.responses.size(); - if (txNumber > 0) txNumber--; - return txNumber; + return finalTrace.responses.size(); } }; diff --git a/src/main_sm/fork_3/main/full_tracer.hpp b/src/main_sm/fork_3/main/full_tracer.hpp index ca75ffbee..7cd0c8af7 100644 --- a/src/main_sm/fork_3/main/full_tracer.hpp +++ b/src/main_sm/fork_3/main/full_tracer.hpp @@ -128,9 +128,7 @@ class FullTracer: public FullTracerInterface } uint64_t get_tx_number(void) { - uint64_t txNumber = finalTrace.responses.size(); - if (txNumber > 0) txNumber--; - return txNumber; + return finalTrace.responses.size(); } }; diff --git a/src/main_sm/fork_4/main/full_tracer.hpp b/src/main_sm/fork_4/main/full_tracer.hpp index d19efd994..250ee574f 100644 --- a/src/main_sm/fork_4/main/full_tracer.hpp +++ b/src/main_sm/fork_4/main/full_tracer.hpp @@ -129,9 +129,7 @@ class FullTracer: public FullTracerInterface uint64_t get_tx_number(void) { - uint64_t txNumber = finalTrace.responses.size(); - if (txNumber > 0) txNumber--; - return txNumber; + return finalTrace.responses.size(); } }; diff --git a/src/main_sm/fork_5/main/full_tracer.hpp b/src/main_sm/fork_5/main/full_tracer.hpp index ee1820a73..aa5e81116 100644 --- a/src/main_sm/fork_5/main/full_tracer.hpp +++ b/src/main_sm/fork_5/main/full_tracer.hpp @@ -137,9 +137,7 @@ class FullTracer: public FullTracerInterface } uint64_t get_tx_number(void) { - uint64_t txNumber = finalTrace.responses.size(); - if (txNumber > 0) txNumber--; - return txNumber; + return finalTrace.responses.size(); } };