Make MetaInfo.finalBlockID a Name::Component.
diff --git a/tests/test-encode-decode-data.cpp b/tests/test-encode-decode-data.cpp
index 5943890..0246477 100644
--- a/tests/test-encode-decode-data.cpp
+++ b/tests/test-encode-decode-data.cpp
@@ -98,8 +98,8 @@
else
cout << "<none>" << endl;
cout << "metaInfo.finalBlockID: "
- << (data.getMetaInfo().getFinalBlockID().size() > 0 ?
- toHex(data.getMetaInfo().getFinalBlockID()).c_str() : "<none>") << endl;
+ << (data.getMetaInfo().getFinalBlockID().getValue().size() > 0 ?
+ toHex(*data.getMetaInfo().getFinalBlockID().getValue()).c_str() : "<none>") << endl;
cout << "signature.digestAlgorithm: "
<< (data.getSignature().getDigestAlgorithm().size() > 0 ? toHex(data.getSignature().getDigestAlgorithm()).c_str() : "default (sha-256)") << endl;