mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Merge remote-tracking branch 'upstream/devel' into fix-latest-build
This commit is contained in:
commit
1bd6fa19f0
2 changed files with 11 additions and 6 deletions
|
@ -19,12 +19,16 @@ endif()
|
||||||
|
|
||||||
message(STATUS MONERO_DIR ": ${MONERO_DIR}")
|
message(STATUS MONERO_DIR ": ${MONERO_DIR}")
|
||||||
|
|
||||||
|
if (NOT MONERO_SOURCE_DIR)
|
||||||
set(MONERO_SOURCE_DIR ${MONERO_DIR}
|
set(MONERO_SOURCE_DIR ${MONERO_DIR}
|
||||||
CACHE PATH "Path to the root directory for Monero")
|
CACHE PATH "Path to the root directory for Monero")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT MONERO_BUILD_DIR)
|
||||||
# set location of monero build tree
|
# set location of monero build tree
|
||||||
set(MONERO_BUILD_DIR ${MONERO_SOURCE_DIR}/build/release/
|
set(MONERO_BUILD_DIR ${MONERO_SOURCE_DIR}/build/release/
|
||||||
CACHE PATH "Path to the build directory for Monero")
|
CACHE PATH "Path to the build directory for Monero")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(MY_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/cmake"
|
set(MY_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/cmake"
|
||||||
CACHE PATH "The path to the cmake directory of the current project")
|
CACHE PATH "The path to the cmake directory of the current project")
|
||||||
|
|
|
@ -6576,7 +6576,8 @@ construct_tx_context(transaction tx, uint16_t with_ring_signatures = 0)
|
||||||
if (core_storage->get_db().tx_exists(txd.hash, tx_index))
|
if (core_storage->get_db().tx_exists(txd.hash, tx_index))
|
||||||
{
|
{
|
||||||
out_amount_indices = core_storage->get_db()
|
out_amount_indices = core_storage->get_db()
|
||||||
.get_tx_amount_output_indices(tx_index);
|
.get_tx_amount_output_indices(tx_index)
|
||||||
|
.front();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue