完善钱包初始化流程

This commit is contained in:
zhl 2023-05-15 14:04:12 +08:00
parent 44362f6ca3
commit b5989962ff

View File

@ -1086,10 +1086,7 @@ static bool JSB_prepareWallet(se::State& s)
Application::getInstance()->getKeyMaster(), Application::getInstance()->getKeyMaster(),
Application::getInstance()->getKeySecond() Application::getInstance()->getKeySecond()
); );
std::string result = StringUtils::format("{\"address\": \"%s\"}\n", s.rval().setString(address);
address.c_str()
);
s.rval().setString(result);
return true; return true;
} }