From b433df746b9af00d144e35f6fa4135e6ad6d5779 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 10 Dec 2019 07:53:27 -0500 Subject: [PATCH] cleanup --- src/daemon/monero_daemon_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/monero_daemon_model.cpp b/src/daemon/monero_daemon_model.cpp index 7c7365a..9c360bd 100644 --- a/src/daemon/monero_daemon_model.cpp +++ b/src/daemon/monero_daemon_model.cpp @@ -285,7 +285,7 @@ namespace monero { if (key == string("hash")) tx->m_hash = it->second.data(); else if (key == string("version")) throw runtime_error("version deserializationn not implemented"); else if (key == string("isMinerTx")) tx->m_is_miner_tx = it->second.get_value(); - else if (key == string("paymentId")) tx->m_payment_id = it->second.data(); // TODO: this threw runtime_error, how is "Can get transactions by payment ids" test passing in Java? + else if (key == string("paymentId")) tx->m_payment_id = it->second.data(); else if (key == string("fee")) tx->m_fee = it->second.get_value(); else if (key == string("mixin")) throw runtime_error("mixin deserialization not implemented"); else if (key == string("doNotRelay")) tx->m_do_not_relay = it->second.get_value();