未验证 提交 ab07b495 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #1465 from EOSIO/DAWN-505

DAWN-505 - Fix wrong api endpoint and param for push transactions
......@@ -978,9 +978,9 @@ int main( int argc, char** argv ) {
trxsSubcommand->set_callback([&] {
fc::variant trx_var;
try {
trx_var = fc::json::from_string(trxJson);
trx_var = fc::json::from_string(trxsJson);
} EOS_CAPTURE_AND_RETHROW(transaction_type_exception, "Fail to parse transaction JSON")
auto trxs_result = call(push_txn_func, trx_var);
auto trxs_result = call(push_txns_func, trx_var);
std::cout << fc::json::to_pretty_string(trxs_result) << std::endl;
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册