public String getAccountAddress(String account) throws ZetacoinException {
        List<String> a = zetacoin.getAddressesByAccount(account);
        if (a.isEmpty())
            return zetacoin.getNewAddress(account);
        return a.get(0);
    }