Add hardfork logic #413
This commit is contained in:
parent
5d6091e581
commit
966b3edf0c
2 changed files with 2 additions and 0 deletions
|
|
@ -518,6 +518,7 @@ void_result asset_publish_feeds_evaluator::do_apply(const asset_publish_feed_ope
|
|||
|
||||
void_result asset_claim_fees_evaluator::do_evaluate( const asset_claim_fees_operation& o )
|
||||
{ try {
|
||||
FC_ASSERT( db().head_block_time() > HARDFORK_413_TIME );
|
||||
FC_ASSERT( o.amount_to_claim.asset_id(db()).issuer == o.issuer, "Asset fees may only be claimed by the issuer" );
|
||||
return void_result();
|
||||
} FC_CAPTURE_AND_RETHROW( (o) ) }
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define HARDFORK_413_TIME (fc::time_point_sec( 1446652800 ))
|
||||
|
|
|
|||
Loading…
Reference in a new issue