Use beast for bind, placeholders, and function

This commit is contained in:
Vinnie Falco
2013-06-27 17:17:10 -07:00
parent a21bb13915
commit 903cc001dd
7 changed files with 30 additions and 20 deletions

View File

@@ -1285,6 +1285,10 @@ void PeerImp::recvHaveTxSet (protocol::TMHaveTransactionSet& packet)
}
uint256 hash;
// VFALCO TODO There should be no use of memcpy() throughout the program.
// TODO Clean up this magic number
//
memcpy (hash.begin (), packet.hash ().data (), 32);
if (packet.status () == protocol::tsHAVE)