Skip to content

Commit 504e63e

Browse files
authored
Merge pull request #441 from pmconrad/testnet_release
Prevent bid_collateral from executing through proposal before hardfork
2 parents 6d6f5dd + a605c5f commit 504e63e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/chain/include/graphene/chain/asset_evaluator.hpp

+4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ namespace graphene { namespace chain {
160160
template<typename T>
161161
void operator()( const T& v )const {}
162162

163+
void operator()( const graphene::chain::bid_collateral_operation& v )const {
164+
FC_ASSERT( false, "Not allowed until hardfork" );
165+
}
166+
163167
void operator()( const graphene::chain::asset_create_operation& v )const {
164168
FC_ASSERT( v.fee.asset_id == asset_id_type(), "Can only pay fee in BTS since block #21040000" );
165169
}

0 commit comments

Comments
 (0)