Fixed code

Fixed line 236 making the code not work, Readied the getCoins() method.
knownaliases is an array of names