Remove dead code. Change unit tests to compensate.

This commit is contained in:
JoelKatz
2012-04-23 15:58:05 -07:00
parent 238b2d16f8
commit 3a09455e6c
4 changed files with 5 additions and 14 deletions

View File

@@ -313,7 +313,7 @@ static SHAMapItem::pointer makeRandomAS()
Serializer s;
for(int d=0; d<3; d++)
s.add32(rand());
return boost::make_shared<SHAMapItem>(s.getRIPEMD160(), s.peekData());
return boost::make_shared<SHAMapItem>(s.getRIPEMD160().to256(), s.peekData());
}
static bool confuseMap(SHAMap &map, int count)