Skip to content

Commit

Permalink
more macOS compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sowle committed Feb 14, 2019
1 parent 443c00f commit 5f1b927
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/currency_core/currency_format_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ namespace currency
txin_to_key& tk = boost::get<txin_to_key>(in);
tei.ins.back().amount = tk.amount;
tei.ins.back().kimage_or_ms_id = epee::string_tools::pod_to_hex(tk.k_image);
std::vector<size_t> absolute_offsets = relative_output_offsets_to_absolute(tk.key_offsets);
std::vector<uint64_t> absolute_offsets = relative_output_offsets_to_absolute(tk.key_offsets);
for (auto& ao : absolute_offsets)
{
tei.ins.back().global_indexes.push_back(0);
Expand Down
5 changes: 3 additions & 2 deletions tests/functional_tests/transactions_flow_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <boost/uuid/random_generator.hpp>
#include <unordered_map>
#include "include_base_utils.h"
#include "string_coding.h"
using namespace epee;
#include "storages/http_abstract_invoke.h"

Expand Down Expand Up @@ -95,8 +96,8 @@ bool transactions_flow_test(std::string& working_folder,

try
{
w1.generate(working_folder + "/" + path_source_wallet, "");
w2.generate(working_folder + "/" + path_terget_wallet, "");
w1.generate(string_encoding::convert_to_unicode(working_folder + "/" + path_source_wallet), "");
w2.generate(string_encoding::convert_to_unicode(working_folder + "/" + path_terget_wallet), "");
}
catch (const std::exception& e)
{
Expand Down

0 comments on commit 5f1b927

Please sign in to comment.