diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:48:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:48:50 +0200 |
commit | 1b092f3a4485285ee10b964b13bb329de51f85c6 (patch) | |
tree | cd99954a3681c47ca1f7f34a263308c7cb031e13 /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #5450 (diff) | |
parent | rpc: add a pruned bool to the prune_blockchain call (diff) | |
download | monero-1b092f3a4485285ee10b964b13bb329de51f85c6.tar.xz |
Merge pull request #5452
c30d93fc rpc: add a pruned bool to the prune_blockchain call (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index ec3833a1c..c41fb37d8 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -2382,6 +2382,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) { |