Browse Source

Bugfix: Avoid accessing temporary after its lifetime.

cl-refactor
Christian 10 years ago
parent
commit
f42f24165b
  1. 5
      eth/main.cpp

5
eth/main.cpp

@ -441,9 +441,8 @@ int main(int argc, char** argv)
#endif
else if (cmd == "address")
{
cout << "Current address:" << endl;
const char* addchr = toHex(us.address().asArray()).c_str();
cout << addchr << endl;
cout << "Current address:" << endl
<< toHex(us.address().asArray()) << endl;
}
else if (cmd == "secret")
{

Loading…
Cancel
Save