Last active
September 4, 2022 01:04
-
-
Save frozeman/ed41008f4d30900da3e8 to your computer and use it in GitHub Desktop.
Fixes the wallet links in the ethereum wallet
This file contains hidden or 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
// Open the wallet console: Menu -> Develop -> Toggle console ... | |
// Run the following script | |
_.each(Wallets.find().fetch(), function(item){ | |
if(item.address) | |
Wallets.update(item._id, {$set: {address: item.address.toLowerCase()}}); | |
}); | |
_.each(CustomContracts.find().fetch(), function(item){ | |
if(item.address) | |
CustomContracts.update(item._id, {$set: {address: item.address.toLowerCase()}}); | |
}); | |
_.each(Tokens.find().fetch(), function(item){ | |
if(item.address) | |
Tokens.update(item._id, {$set: {address: item.address.toLowerCase()}}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@GringoA1: yes, i tried it, but
mist browser console replys:
undefined