fix: compile with new device monero functionality

u1604
moneroexamples 6 years ago
parent 349f0a7f4d
commit 605c6caf28

@ -110,12 +110,15 @@ set(LIBRARIES
blocks
lmdb
ringct
device
common
mnemonics
easylogging
checkpoints
version
epee_readline
epee
readline
${Boost_LIBRARIES}
pthread
unbound

@ -28,8 +28,8 @@
# (c) 2014-2016 cpp-ethereum contributors.
#------------------------------------------------------------------------------
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;
cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;
set(LIBS common;blocks;cryptonote_basic;cryptonote_core;epee_readline;
cryptonote_protocol;daemonizer;mnemonics;epee;lmdb;device;
blockchain_db;ringct;wallet;cncrypto;easylogging;version;checkpoints)
set(Xmr_INCLUDE_DIRS "${CPP_MONERO_DIR}")

@ -937,14 +937,16 @@ decode_ringct(rct::rctSig const& rv,
amount = rct::decodeRctSimple(rv,
rct::sk2rct(scalar1),
i,
mask);
mask,
hw::get_device("default"));
break;
case rct::RCTTypeFull:
case rct::RCTTypeFullBulletproof:
amount = rct::decodeRct(rv,
rct::sk2rct(scalar1),
i,
mask);
mask,
hw::get_device("default"));
break;
default:
cerr << "Unsupported rct type: " << rv.type << '\n';

Loading…
Cancel
Save