diff --git a/src/main.cc b/src/main.cc index a87f3fe..b6df849 100644 --- a/src/main.cc +++ b/src/main.cc @@ -197,7 +197,7 @@ void address_decode_integrated(const Nan::FunctionCallbackInfo& info) uint64_t prefix; if (!tools::base58::decode_addr(input, prefix, data)) { info.GetReturnValue().Set(Nan::Undefined()); - return + return; } integrated_address iadr; diff --git a/src/serialization/crypto.h b/src/serialization/crypto.h index 6e683e6..76a3a1d 100644 --- a/src/serialization/crypto.h +++ b/src/serialization/crypto.h @@ -53,12 +53,14 @@ bool do_serialize(Archive &ar, std::vector &v) BLOB_SERIALIZER(crypto::chacha8_iv); BLOB_SERIALIZER(crypto::hash); +BLOB_SERIALIZER(crypto::hash8); BLOB_SERIALIZER(crypto::public_key); BLOB_SERIALIZER(crypto::secret_key); BLOB_SERIALIZER(crypto::key_derivation); BLOB_SERIALIZER(crypto::key_image); BLOB_SERIALIZER(crypto::signature); VARIANT_TAG(debug_archive, crypto::hash, "hash"); +VARIANT_TAG(debug_archive, crypto::hash8, "hash8"); VARIANT_TAG(debug_archive, crypto::public_key, "public_key"); VARIANT_TAG(debug_archive, crypto::secret_key, "secret_key"); VARIANT_TAG(debug_archive, crypto::key_derivation, "key_derivation");