From 4f460736eb621dca3aec1f8ddc0db50284db2f92 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 18 Jun 2012 20:53:48 -0700 Subject: [PATCH] to160 was broken, and we don't use it. So remove it. --- src/Conversion.cpp | 7 ------- src/uint256.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/Conversion.cpp b/src/Conversion.cpp index a0ac3c1e91..7f9de9029b 100644 --- a/src/Conversion.cpp +++ b/src/Conversion.cpp @@ -42,13 +42,6 @@ bool u160ToHuman(uint160& buf, std::string& retStr) #endif -base_uint160 uint256::to160() const -{ - uint160 m; - memcpy(m.begin(), begin(), m.size()); - return m; -} - base_uint256 uint160::to256() const { uint256 m; diff --git a/src/uint256.h b/src/uint256.h index 3e89222070..a13c814dc3 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -511,8 +511,6 @@ public: zero(); } } - - base_uint160 to160() const; };