Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vonhenry committed Jul 24, 2019
1 parent 571546f commit 5f0bf97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibc.chain/src/ibc.chain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace eosio {
require_auth( _self );
eosio_assert( chain_name != ""_n, "chain_name can not be empty");
eosio_assert( ! is_equal_capi_checksum256(chain_id, chain_id_type()), "chain_id can not be empty");
eosio_assert( consensus_algo == "pipeline"_n || consensus_algo == "batch"_n, "consensus_algo must be pipeline or pbft" );
eosio_assert( consensus_algo == "pipeline"_n || consensus_algo == "batch"_n, "consensus_algo must be pipeline or batch" );
_gstate.chain_name = chain_name;
_gstate.chain_id = chain_id;
_gstate.consensus_algo = consensus_algo;
Expand Down

0 comments on commit 5f0bf97

Please sign in to comment.