List<Object> params = createParamList(account);
Address address = send("getnewaddress", params, Address.class);
return address;</BUG>
}
<BUG>public Address getAccountAddress(String account) throws JsonRPCException, IOException {
List<Object> params = createParamList(account);
Address address = send("getaccountaddress", params, Address.class);
return address;</BUG>
}
<BUG>public ECKey dumpPrivKey(Address address) throws IOException, JsonRPCStatusException {
List<Object> params = createParamList(address);
ECKey key = send("dumpprivkey", params, ECKey.class);
return key;</BUG>
}

return setGenerate(true, blocks);
}
public Address getNewAddress() throws JsonRPCException, IOException {
return getNewAddress(null);
}
public Address getNewAddress(String account) throws JsonRPCException, IOException {
return send("getnewaddress", Address.class, account);
}
public Address getAccountAddress(String account) throws JsonRPCException, IOException {
return send("getaccountaddress", Address.class, account);
}
public ECKey dumpPrivKey(Address address) throws IOException, JsonRPCStatusException {
return send("dumpprivkey", ECKey.class, address);
}
