Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
Handle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramrajkumar committed Jan 22, 2015
1 parent c2bb777 commit 8c908f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions libraries/blockchain/include/bts/blockchain/fork_blocks.hpp
Expand Up @@ -45,8 +45,7 @@
((BTS_V0_4_23_FORK_BLOCK_NUM, "0.4.23", 1414426032)) \
((BTS_V0_4_24_FORK_BLOCK_NUM, "0.4.24", 1415398550)) \
((BTS_V0_4_26_FORK_BLOCK_NUM, "0.4.26", 1418401491)) \
((DVS_V0_5_0_FORK_BLOCK_NUM, "0.5.0", 1421192371)) \
((DVS_V0_5_2_FORK_BLOCK_NUM, "0.5.2", 1421943325))
((DVS_V0_5_0_FORK_BLOCK_NUM, "0.5.0", 1421192371))

namespace bts { namespace blockchain {
uint32_t estimate_last_known_fork_from_git_revision_timestamp(uint32_t revision_time);
Expand Down
7 changes: 0 additions & 7 deletions libraries/blockchain/market_engine_v7.cpp
Expand Up @@ -122,13 +122,6 @@ namespace bts { namespace blockchain { namespace detail {
// Skip shorts that are over the price limit.
if( _current_bid->state.limit_price.valid() )
{
if( _pending_state->get_head_block_num() >= DVS_V0_5_2_FORK_BLOCK_NUM )
{
if( *_current_bid->state.limit_price < *_feed_price )
{
_current_bid.reset(); continue;
}
}
if( *_current_bid->state.limit_price < mtrx.ask_price )
{
_current_bid.reset(); continue;
Expand Down

0 comments on commit 8c908f8

Please sign in to comment.