diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-04 00:23:31 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-04 00:23:31 -0800 |
| commit | 31db768e4d4c2815d2be0493b2c76ea5f5edbffa (patch) | |
| tree | ae76b2153c5a6d58dd4b887c54626ee9e93b6601 /node/Identity.cpp | |
| parent | d9e4ba1280bc5aec5d4cc04c4c495ac9c923563d (diff) | |
| download | infinitytier-31db768e4d4c2815d2be0493b2c76ea5f5edbffa.tar.gz infinitytier-31db768e4d4c2815d2be0493b2c76ea5f5edbffa.zip | |
A bit of code cleanup.
Diffstat (limited to 'node/Identity.cpp')
| -rw-r--r-- | node/Identity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Identity.cpp b/node/Identity.cpp index c47805d9..05b70873 100644 --- a/node/Identity.cpp +++ b/node/Identity.cpp @@ -160,7 +160,7 @@ bool Identity::fromString(const char *str) for(char *f=Utils::stok(tmp,":",&saveptr);(f);f=Utils::stok((char *)0,":",&saveptr)) { switch(fno++) { case 0: - _address = Address(f); + _address = Address(Utils::hexStrToU64(f)); if (_address.isReserved()) return false; break; |
