aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bcUncleTestFiller.json2
-rw-r--r--blockchain.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/bcUncleTestFiller.json b/bcUncleTestFiller.json
index 21a987e1..73d1e548 100644
--- a/bcUncleTestFiller.json
+++ b/bcUncleTestFiller.json
@@ -265,7 +265,7 @@
"uncleHash" : "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
{
- "theSameAsBefore" : "1"
+ "sameAsPreviousSibling" : "1"
}
]
}
diff --git a/blockchain.cpp b/blockchain.cpp
index 27d15c60..eca08d09 100644
--- a/blockchain.cpp
+++ b/blockchain.cpp
@@ -107,7 +107,7 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin)
for (auto const& uHObj: blObj["uncleHeaders"].get_array())
{
mObject uncleHeaderObj = uHObj.get_obj();
- if ( uncleHeaderObj.count("theSameAsBefore") )
+ if (uncleHeaderObj.count("sameAsPreviousSibling"))
{
writeBlockHeaderToJson(uncleHeaderObj_pre, vBiUncles[vBiUncles.size()-1]);
aUncleList.push_back(uncleHeaderObj_pre);