Browse Source

Fix const& where it should have been value.

cl-refactor
Gav Wood 9 years ago
parent
commit
b872015ced
  1. 3
      alethzero/MainWin.cpp

3
alethzero/MainWin.cpp

@ -349,8 +349,7 @@ void Main::refreshWhisper()
void Main::addNewId(QString _ids)
{
Secret const& id = jsToSecret(_ids.toStdString());
KeyPair kp(id);
KeyPair kp(jsToSecret(_ids.toStdString()));
m_myIdentities.push_back(kp);
m_server->setIdentities(keysAsVector(owned()));
refreshWhisper();

Loading…
Cancel
Save