Added SerializationTest for object payload (which is probably the most important)

This commit is contained in:
2015-04-28 18:36:07 +02:00
parent 407c432f3c
commit 00bd6a08b7
18 changed files with 104 additions and 7 deletions

View File

@ -151,7 +151,7 @@ public class Connection implements Runnable {
try {
LOG.debug("Received object " + objectMessage.getInventoryVector());
Security.checkProofOfWork(objectMessage, ctx.getNetworkNonceTrialsPerByte(), ctx.getNetworkExtraBytes());
ctx.getInventory().storeObject(version, objectMessage);
ctx.getInventory().storeObject(objectMessage);
} catch (IOException e) {
LOG.debug(e.getMessage(), e);
}