diff --git a/src/daemon/monero_daemon_model.cpp b/src/daemon/monero_daemon_model.cpp index 78cbd6a..d2e75ce 100644 --- a/src/daemon/monero_daemon_model.cpp +++ b/src/daemon/monero_daemon_model.cpp @@ -264,7 +264,7 @@ namespace monero { if (rct_signatures != boost::none) throw runtime_error("rct_signatures not implemented"); if (rct_sig_prunable != boost::none) throw runtime_error("rct_sig_prunable not implemented"); if (is_kept_by_block != boost::none) node.put("isKeptByBlock", *is_kept_by_block); - if (is_failed != boost::none) node.put("is_failed", *is_failed); + if (is_failed != boost::none) node.put("isFailed", *is_failed); if (last_failed_height != boost::none) node.put("lastFailedHeight", *last_failed_height); if (last_failed_id != boost::none) node.put("lastFailedId", *last_failed_id); if (max_used_block_height != boost::none) node.put("maxUsedBlockHeight", *max_used_block_height); diff --git a/src/wallet/monero_wallet_model.cpp b/src/wallet/monero_wallet_model.cpp index d875b4c..e236209 100644 --- a/src/wallet/monero_wallet_model.cpp +++ b/src/wallet/monero_wallet_model.cpp @@ -98,7 +98,7 @@ namespace monero { if (balance != boost::none) node.put("balance", *balance); if (unlocked_balance != boost::none) node.put("unlockedBalance", *unlocked_balance); if (num_unspent_outputs != boost::none) node.put("numUnspentOutputs", *num_unspent_outputs); - if (is_used != boost::none) node.put("is_used", *is_used); + if (is_used != boost::none) node.put("isUsed", *is_used); if (num_blocks_to_unlock != boost::none) node.put("numBlocksToUnlock", *num_blocks_to_unlock); return node; }