public void setKeyPair(String account, KeyPair keyPair) { AccountItem accountItem = getAccount(account); accountItem.setKeyPair(keyPair); requestToWriteAccount(accountItem); }