Change Interest.nonce to a Blob.
diff --git a/tests/test-encode-decode-interest.cpp b/tests/test-encode-decode-interest.cpp
index 9326893..ff4a920 100644
--- a/tests/test-encode-decode-interest.cpp
+++ b/tests/test-encode-decode-interest.cpp
@@ -68,7 +68,7 @@
else
cout << "<none>" << endl;
cout << "nonce: "
- << (interest.getNonce().size() > 0 ? toHex(interest.getNonce()) : "<none>") << endl;
+ << (interest.getNonce().size() > 0 ? toHex(*interest.getNonce()) : "<none>") << endl;
}
int main(int argc, char** argv)