Change wire encoding to return a Blob.
diff --git a/tests/test-publish-async.cpp b/tests/test-publish-async.cpp
index 49129c8..87fad40 100644
--- a/tests/test-publish-async.cpp
+++ b/tests/test-publish-async.cpp
@@ -32,7 +32,7 @@
data.setContent((const unsigned char *)&content[0], content.size());
data.getMetaInfo().setTimestampMilliseconds(time(NULL) * 1000.0);
KeyChain::defaultSign(data);
- shared_ptr<vector<unsigned char> > encodedData = data.wireEncode();
+ Blob encodedData = data.wireEncode();
cout << "Sent content " << content << endl;
transport.send(*encodedData);