Skip to content

Commit

Permalink
Address warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmienk committed Oct 30, 2016
1 parent 70acb5d commit a910cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/chain/transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ BOOST_AUTO_TEST_CASE(transaction__version__roundtrip__success)
{
uint32_t version = 1254u;
chain::transaction instance;
BOOST_REQUIRE(!version == instance.version());
BOOST_REQUIRE(instance.version() == !version);
instance.set_version(version);
BOOST_REQUIRE_EQUAL(version, instance.version());
}
Expand All @@ -523,7 +523,7 @@ BOOST_AUTO_TEST_CASE(transaction__locktime__roundtrip__success)
{
uint32_t locktime = 1254u;
chain::transaction instance;
BOOST_REQUIRE(!locktime == instance.locktime());
BOOST_REQUIRE(instance.locktime() == !locktime);
instance.set_locktime(locktime);
BOOST_REQUIRE_EQUAL(locktime, instance.locktime());
}
Expand Down

0 comments on commit a910cdb

Please sign in to comment.