aboutsummaryrefslogtreecommitdiff
path: root/src/common/base58.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/base58.cpp')
-rw-r--r--src/common/base58.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/base58.cpp b/src/common/base58.cpp
index cd2272356..3562af486 100644
--- a/src/common/base58.cpp
+++ b/src/common/base58.cpp
@@ -234,7 +234,7 @@ namespace tools
return encode(buf);
}
- bool decode_addr(std::string addr, uint64_t& tag, std::string& data)
+ bool decode_addr(const std::string &addr, uint64_t& tag, std::string& data)
{
std::string addr_data;
bool r = decode(addr, addr_data);