diff --git a/include/nil/crypto3/zk/transcript/fiat_shamir.hpp b/include/nil/crypto3/zk/transcript/fiat_shamir.hpp index 95a51e00..b27e8efe 100644 --- a/include/nil/crypto3/zk/transcript/fiat_shamir.hpp +++ b/include/nil/crypto3/zk/transcript/fiat_shamir.hpp @@ -258,7 +258,8 @@ namespace nil { template typename Field::value_type challenge() { - return sponge.squeeze(); + typename Field::value_type result = sponge.squeeze(); + return result; } template