test of logging for debug purposes - please ignore
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/haven-protocol-org/node-cryptoforknote-util.git"
|
||||
"url": "https://github.com/somerandomcryptoguy/node-cryptoforknote-util.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"base58-native": "*",
|
||||
|
||||
@@ -382,6 +382,7 @@ namespace cryptonote
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << b_blob;
|
||||
LOG_ERROR(ss.str());
|
||||
binary_archive<false> ba(ss);
|
||||
bool r = ::serialization::serialize(ba, b);
|
||||
CHECK_AND_ASSERT_MES(r, false, "Failed to parse block from blob 1");
|
||||
|
||||
@@ -145,7 +145,7 @@ NAN_METHOD(convert_blob) { // (parentBlockBuffer, cnBlobType)
|
||||
|
||||
block b = AUTO_VAL_INIT(b);
|
||||
b.set_blob_type(blob_type);
|
||||
if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("Failed to parse block 2");
|
||||
if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("Failed to parse block 2 " + blob_type);
|
||||
|
||||
if (blob_type == BLOB_TYPE_FORKNOTE2) {
|
||||
block parent_block;
|
||||
|
||||
Reference in New Issue
Block a user