mirror of
https://github.com/logos-blockchain/logos-blockchain-ui.git
synced 2026-07-09 17:29:27 +00:00
Integrate result changes.
This commit is contained in:
parent
4fd0435f63
commit
23a3d1c71d
@ -149,12 +149,11 @@ BlockchainBackend::~BlockchainBackend()
|
||||
|
||||
QString BlockchainBackend::claimLeaderRewards()
|
||||
{
|
||||
if (!m_blockchainClient) {
|
||||
if (!m_blockchainClient)
|
||||
return QStringLiteral("Error: Module not initialized.");
|
||||
}
|
||||
|
||||
QVariant result = m_blockchainClient->invokeRemoteMethod(BLOCKCHAIN_MODULE_NAME, "leader_claim");
|
||||
return result.isValid() ? result.toString() : QStringLiteral("Error: Call failed.");
|
||||
return toDisplayMessage(toLogosResult(m_blockchainClient->invokeRemoteMethod(
|
||||
BLOCKCHAIN_MODULE_NAME, "leader_claim")));
|
||||
}
|
||||
|
||||
void BlockchainBackend::startBlockchain()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user