use camelcase for serialization / deserialization

This commit is contained in:
woodser
2019-08-03 14:26:30 -04:00
parent 1482f330e7
commit bbaa2e385d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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;
}