diff --git a/test/libethereum/transactionqueue.cpp b/test/libethereum/transactionqueue.cpp index aa76681c5..d41dac808 100644 --- a/test/libethereum/transactionqueue.cpp +++ b/test/libethereum/transactionqueue.cpp @@ -110,7 +110,12 @@ BOOST_AUTO_TEST_CASE(priority) Transaction tx7(0, gasCostMed, gas, dest, bytes(), 2, sender2 ); txq.import(tx7); - BOOST_CHECK((Transactions { tx2, tx3, tx4, tx6, tx7 }) == txq.topTransactions(256)); +#ifdef ETH_HAVE_SECP256K1 + // deterministic signature: hash of tx5 and tx7 will be same + BOOST_CHECK((Transactions { tx2, tx3, tx4, tx6 }) == txq.topTransactions(256)); +#else + BOOST_CHECK((Transactions { tx2, tx3, tx4, tx6, tx7 }) == txq.topTransactions(256)); +#endif } BOOST_AUTO_TEST_CASE(future)