Skip to content

Instantly share code, notes, and snippets.

@frozeman
Last active September 4, 2022 01:04
Show Gist options
  • Save frozeman/ed41008f4d30900da3e8 to your computer and use it in GitHub Desktop.
Save frozeman/ed41008f4d30900da3e8 to your computer and use it in GitHub Desktop.
Fixes the wallet links in the ethereum wallet
// 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()}});
});
@MOBImixa
Copy link

непонятеи

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment