提交 8878a38e 编写于 作者: M Matt Witherspoon

Create actions in eosioc push actions command

上级 673e2786
......@@ -1112,10 +1112,12 @@ int main( int argc, char** argv ) {
auto accountPermissions = get_account_permissions(permissions);
signed_transaction trx;
/* TODO: restore this function
transaction_emplace_serialized_actions(trx, contract, action, accountPermissions,
result.get_object()["binargs"].as<bytes>());
*/
eosio::chain::action act;
act.account = contract;
act.name = action;
act.authorization = accountPermissions;
act.data = result.get_object()["binargs"].as<bytes>();
trx.actions.push_back(act);
if (tx_force_unique) {
trx.actions.emplace_back( generate_nonce() );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册