diff options
Diffstat (limited to 'src/uint256.cpp')
-rw-r--r-- | src/uint256.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/uint256.cpp b/src/uint256.cpp index ee1b34eadd..f358b62903 100644 --- a/src/uint256.cpp +++ b/src/uint256.cpp @@ -80,7 +80,5 @@ template std::string base_blob<256>::ToString() const; template void base_blob<256>::SetHex(const char*); template void base_blob<256>::SetHex(const std::string&); -uint256& UINT256_ONE() { - static uint256* one = new uint256(uint256S("0000000000000000000000000000000000000000000000000000000000000001")); - return *one; -} +const uint256 uint256::ZERO(0); +const uint256 uint256::ONE(1); |