Skip to content

Instantly share code, notes, and snippets.

@frozeman
Last active September 4, 2022 01:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • 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()}});
});
@hauweg
Copy link

hauweg commented Mar 14, 2016

commandline in geth console replys

ReferenceError: '_' is not defined 
at <anonymous>:1:1

@linux manjaro x64

@hauweg
Copy link

hauweg commented Mar 14, 2016

mist browser console replys

undefined

@linux manjaro x64

@lamart1
Copy link

lamart1 commented Mar 14, 2016

Before I must run wallet with this: ./Ethereum-Wallet --ignore-gpu-blacklist

@hauweg
Copy link

hauweg commented Mar 15, 2016

@GringoA1: yes, i tried it, but

mist browser console replys: undefined

@MOBImixa
Copy link

непонятеи

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