未验证 提交 13c7b085 编写于 作者: J Jon-Eric Cook 提交者: GitHub

Update eosio.system.hpp

Added a missing action in "apply" function. Fixed a potential typo in an action struct and action name. Fixed typo in comment.
上级 05cf77bb
......@@ -112,7 +112,7 @@ namespace eosiosystem {
typedef eosio::multi_index< N(delband), delegated_bandwidth> del_bandwidth_index_type;
ACTION( SystemAccount, finshundel ) {
ACTION( SystemAccount, finishundel ) {
account_name from;
account_name to;
};
......@@ -252,7 +252,7 @@ namespace eosiosystem {
/**
* This method will create a producr_config and producer_votes object for 'producer'
* This method will create a producer_config and producer_votes object for 'producer'
*
* @pre producer is not already registered
* @pre producer to register is an account
......@@ -382,13 +382,16 @@ namespace eosiosystem {
static void on( const nonce& ) {
}
static void on( const finishundel& ) {
}
static void apply( account_name code, action_name act ) {
if( !eosio::dispatch<contract,
regproducer, regproxy,
delegatebw, undelegatebw,
regproducer, voteproducer, stakevote,
finishundel, voteproducer, stakevote,
nonce>( code, act) ) {
if ( !eosio::dispatch<currency, typename currency::transfer, typename currency::issue>( code, act ) ) {
eosio::print("Unexpected action: ", eosio::name(act), "\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册