aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonero-project <sempre.amaro@gmail.com>2014-05-07 20:17:45 -0400
committermonero-project <sempre.amaro@gmail.com>2014-05-07 20:17:45 -0400
commitd8e3a0c346410ecc5d765687b4864bd428cabb18 (patch)
tree0a6435c39ea0d2a258473d9625510e4e486a64c4 /src
parentadded checkpoint @ 29556 (diff)
parentUpdate cryptonote_format_utils.cpp (diff)
downloadmonero-d8e3a0c346410ecc5d765687b4864bd428cabb18.tar.xz
Merge pull request #3 from NoodleDoodleNoodleDoodleNoodleDoodleNoo/patch-2
Update cryptonote_format_utils.cpp
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/cryptonote_format_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_format_utils.cpp b/src/cryptonote_core/cryptonote_format_utils.cpp
index b2eaf18a2..2b38d001f 100644
--- a/src/cryptonote_core/cryptonote_format_utils.cpp
+++ b/src/cryptonote_core/cryptonote_format_utils.cpp
@@ -80,7 +80,7 @@ namespace cryptonote
#endif
block_reward += fee;
- std::vector<size_t> out_amounts;
+ std::vector<uint64_t> out_amounts;
decompose_amount_into_digits(block_reward, DEFAULT_FEE,
[&out_amounts](uint64_t a_chunk) { out_amounts.push_back(a_chunk); },
[&out_amounts](uint64_t a_dust) { out_amounts.push_back(a_dust); });
@@ -92,7 +92,7 @@ namespace cryptonote
out_amounts.resize(out_amounts.size() - 1);
}
- size_t summary_amounts = 0;
+ uint64_t summary_amounts = 0;
for (size_t no = 0; no < out_amounts.size(); no++)
{
crypto::key_derivation derivation = AUTO_VAL_INIT(derivation);;