mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-22 09:38:49 +02:00
use camelcase for serialization / deserialization
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user