Skip to content

Commit 226df09

Browse files
Modification JsonBuilder
1 parent ffca321 commit 226df09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/core/Version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <string>
55

66
namespace core {
7-
const std::string PRMERS_VERSION = "4.15.59-alpha";
7+
const std::string PRMERS_VERSION = "4.15.60-alpha";
88
} // namespace core
99

1010
#endif // VERSION_HPP

src/io/JsonBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static std::string generatePrimeNetJson(
394394
if (isEdw) canon << "E"; // sigma
395395
if (opts.sigma192) {
396396
canon << opts.sigma192; // *** TODO: not sure where this value comes from ***
397-
} else if (opts.sigma_hex) {
397+
} else if (!opts.sigma_hex.empty()) {
398398
canon << "0x" << toLower(opts.sigma_hex);
399399
} else if (opts.sigma) {
400400
canon << opts.sigma;

0 commit comments

Comments
 (0)