'err != nil' -> 'err == nil', fixes getaddressesbyaccount