diff --git a/scripts/clearnewswire b/scripts/clearnewswire index 1815e9015..8ecee1f0f 100755 --- a/scripts/clearnewswire +++ b/scripts/clearnewswire @@ -2,3 +2,6 @@ rm accounts/news@*/outbox/* rm accounts/news@*/postcache/* rm accounts/news@*/outbox.index +if [ -f accounts/newswirestate.json ]; then + rm accounts/newswirestate.json +fi