提交 858a908c 编写于 作者: A Anton Perkov

history_plugin: fixing potential integer overflow #3735

上级 9846746a
......@@ -346,7 +346,7 @@ namespace eosio {
idump((start)(end));
auto start_itr = idx.lower_bound( boost::make_tuple( n, start ) );
auto end_itr = idx.lower_bound( boost::make_tuple( n, end+1) );
auto end_itr = idx.upper_bound( boost::make_tuple( n, end) );
auto start_time = fc::time_point::now();
auto end_time = start_time;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册