aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-09 21:50:09 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-11 00:51:08 +0800
commit0b6b99cf165342a9d705a577e5a15cd9f78fee1c (patch)
tree721f432eca4b4ad3a27171d659d3a51007d5d010
parentf0a216943fb12a2db60cad3ca0c5079cb30776a5 (diff)
downloaddexon-solidity-0b6b99cf165342a9d705a577e5a15cd9f78fee1c.tar.gz
dexon-solidity-0b6b99cf165342a9d705a577e5a15cd9f78fee1c.tar.zst
dexon-solidity-0b6b99cf165342a9d705a577e5a15cd9f78fee1c.zip
style
-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);