Wire up new seed page for wizard

This commit is contained in:
Aditya Kulkarni
2019-10-24 11:17:22 -07:00
parent f9beda0ded
commit 9c4ef3e019
17 changed files with 581 additions and 34 deletions

View File

@@ -417,7 +417,7 @@ void Controller::executeTransaction(Tx tx,
std::cout << std::setw(2) << params << std::endl;
zrpc->sendTransaction(QString::fromStdString(params.dump()), [=](const json& reply) {
if (reply["result"].is_null() || reply["result"] != "success") {
if (reply.find("txid") == reply.end()) {
error("", "Couldn't understand Response: " + QString::fromStdString(reply.dump()));
}