Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Local_Snapshots_Pruning_Enabled should depend on Local_Snapshots_Enabled config #1222

Merged

Conversation

GalRogozinski
Copy link
Contributor

Description

Local snapshot pruning configuration should always be false if Local snapshot is not enabled.
Fixes the problem that getNodeInfo may report that Pruning is enabled while Local Snapshots is disabled.

Type of change

  • Bug fix (a non-breaking change which fixes an issue)

How Has This Been Tested?

Existing unit tests have passed

Checklist:

Please delete items that are not relevant.

  • My code follows the style guidelines for this project
  • I have performed a self-review of my own code
  • New and existing unit tests pass locally with my changes

@GalRogozinski GalRogozinski merged commit 2c76295 into iotaledger:dev-localsnapshots Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants