aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-16 15:14:18 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-16 15:15:14 +0000
commitc30d93fcd957787dc96824cdc081b6ce0bd27a0b (patch)
treecc1e3e50c96bfba153587f2a1495bf8ee2c889dc /src/rpc/core_rpc_server.cpp
parentMerge pull request #5440 (diff)
downloadmonero-c30d93fcd957787dc96824cdc081b6ce0bd27a0b.tar.xz
rpc: add a pruned bool to the prune_blockchain call
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 39a8b4745..d3142345c 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -2373,6 +2373,7 @@ namespace cryptonote
return false;
}
res.pruning_seed = m_core.get_blockchain_pruning_seed();
+ res.pruned = res.pruning_seed != 0;
}
catch (const std::exception &e)
{