|
|
@ -212,7 +212,7 @@ h256s BlockChain::import(bytes const& _block, OverlayDB const& _db) |
|
|
|
RLP blockRLP(_block); |
|
|
|
|
|
|
|
if (!blockRLP.isList()) |
|
|
|
BOOST_THROW_EXCEPTION(InvalidBlockFormat(0,blockRLP.data()) << errinfo_comment("block header needs to be a list")); |
|
|
|
BOOST_THROW_EXCEPTION(InvalidBlockFormat(0, blockRLP.data()) << errinfo_comment("block header needs to be a list")); |
|
|
|
|
|
|
|
bi.populate(&_block); |
|
|
|
bi.verifyInternals(&_block); |
|
|
|