Sync various bits of work.

This commit is contained in:
JoelKatz
2012-01-13 00:15:34 -08:00
parent 2782c2dafe
commit c35ca834a7
7 changed files with 49 additions and 177 deletions

View File

@@ -38,14 +38,14 @@ bool u160ToHuman(uint160& buf, std::string& retStr)
return(true);
}
uint160 uint256::to160() const
base_uint160 uint256::to160() const
{
uint160 m;
memcpy(&m, this, sizeof(uint160));
return m;
}
uint256 uint160::to256() const
base_uint256 uint160::to256() const
{
uint256 m;
memcpy(&m, this, sizeof(this));