From 0ff6e62b6793c718f3cf5db40a988d1a7e698489 Mon Sep 17 00:00:00 2001 From: Petar Mitchev Date: Thu, 22 Sep 2016 11:22:04 +0300 Subject: [PATCH] alreadyGeneratedCoins is now string --- extensions/blockchain-explorer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/blockchain-explorer.json b/extensions/blockchain-explorer.json index 1be1f01..0e3e3fd 100644 --- a/extensions/blockchain-explorer.json +++ b/extensions/blockchain-explorer.json @@ -286,7 +286,7 @@ " if (!alreadyGeneratedCoins) {", " return false;", " }", - " res.block.alreadyGeneratedCoins = alreadyGeneratedCoins;", + " res.block.alreadyGeneratedCoins = std::to_string(alreadyGeneratedCoins);", "", " uint64_t alreadyGeneratedTransactions = m_core.get_blockchain_storage().get_db().get_block_already_generated_transactions(res.block.height);", " if (!alreadyGeneratedTransactions) {", @@ -603,7 +603,7 @@ " uint64_t sizeMedian;", " uint64_t effectiveSizeMedian;", " uint64_t transactionsCumulativeSize;", - " uint64_t alreadyGeneratedCoins;", + " std::string alreadyGeneratedCoins;", " uint64_t alreadyGeneratedTransactions;", " uint64_t baseReward;", " double penalty;",