/* Copyright (C) Cryptonomex, Inc - All Rights Reserved **/ #include namespace graphene { namespace chain { void witness_create_operation::validate() const { FC_ASSERT(fee.amount >= 0); FC_ASSERT(url.size() < GRAPHENE_MAX_URL_LENGTH ); } void witness_update_operation::validate() const { FC_ASSERT(fee.amount >= 0); if( new_url.valid() ) FC_ASSERT(new_url->size() < GRAPHENE_MAX_URL_LENGTH ); } } } // graphene::chain