mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Decent transaction import result provision.
Give network a hint about what's going on for peer backoffs. Avoid sleeping in main loop when there's still work on.
This commit is contained in:
parent
684aafdbd1
commit
8afc2ab1e1
@ -98,7 +98,7 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin)
|
|||||||
{
|
{
|
||||||
mObject tx = txObj.get_obj();
|
mObject tx = txObj.get_obj();
|
||||||
importer.importTransaction(tx);
|
importer.importTransaction(tx);
|
||||||
if (!txs.attemptImport(importer.m_transaction.rlp()))
|
if (txs.import(importer.m_transaction.rlp()) != ImportResult::Success)
|
||||||
cnote << "failed importing transaction\n";
|
cnote << "failed importing transaction\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user