Last active
March 7, 2018 10:43
-
-
Save krogla/0766784d95cbf49153905586ec84ee41 to your computer and use it in GitHub Desktop.
remove unused contracts from Mist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//rename unused contracts to '--' and run script | |
CustomContracts.find().fetch().map( | |
function(m) { if (m.name == '--') {CustomContracts.remove(m._id);}} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment