Skip to content

Commit

Permalink
Merge pull request #1128 from RichardWeiYang/develop
Browse files Browse the repository at this point in the history
remove double assert in object_id_type constructor
  • Loading branch information
oxarbitrage authored Jul 8, 2018
2 parents 7666343 + 4ea9cb4 commit 7fb2c86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libraries/db/include/graphene/db/object_id.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ namespace graphene { namespace db {
{
object_id_type( uint8_t s, uint8_t t, uint64_t i )
{
assert( i>>48 == 0 );
FC_ASSERT( i >> 48 == 0, "instance overflow", ("instance",i) );
number = (uint64_t(s)<<56) | (uint64_t(t)<<48) | i;
}
Expand Down

0 comments on commit 7fb2c86

Please sign in to comment.