Change wire encoding to return a Blob.
diff --git a/tests/test-encode-decode-data.cpp b/tests/test-encode-decode-data.cpp
index 1e4c165..616b4b0 100644
--- a/tests/test-encode-decode-data.cpp
+++ b/tests/test-encode-decode-data.cpp
@@ -155,7 +155,7 @@
dumpData(data);
cout << "Decoded Data signature verification: " << (KeyChain::selfVerifyData(Data1, sizeof(Data1)) ? "VERIFIED" : "FAILED") << endl;
- ptr_lib::shared_ptr<vector<unsigned char> > encoding = data.wireEncode();
+ Blob encoding = data.wireEncode();
Data reDecodedData;
reDecodedData.wireDecode(*encoding);
@@ -171,7 +171,7 @@
KeyChain::defaultSign(freshData);
cout << endl << "Freshly-signed Data:" << endl;
dumpData(freshData);
- ptr_lib::shared_ptr<vector<unsigned char> > freshEncoding = freshData.wireEncode();
+ Blob freshEncoding = freshData.wireEncode();
cout << "Freshly-signed Data signature verification: " << (KeyChain::selfVerifyData(&freshEncoding->front(), freshEncoding->size()) ? "VERIFIED" : "FAILED") << endl;
} catch (exception& e) {
cout << "exception: " << e.what() << endl;