aboutsummaryrefslogtreecommitdiff
path: root/src/base58.h
diff options
context:
space:
mode:
authorJeremy Rubin <jeremy.l.rubin@gmail.com>2017-02-19 13:41:13 -0500
committerJeremy Rubin <jeremy.l.rubin@gmail.com>2017-07-08 13:33:01 -0700
commit361d95265a78c9bcdfbb70c4c0e5b43ff2d8adc3 (patch)
tree3e546a9992ce8c2b1a1a21a4c8e016787bc74ae7 /src/base58.h
parent6896dbf16996402cc9820e345605716a3dc60482 (diff)
Fix subscript[0] in base58.cpp
Diffstat (limited to 'src/base58.h')
-rw-r--r--src/base58.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base58.h b/src/base58.h
index 3998283bb1..4de5cc6ce5 100644
--- a/src/base58.h
+++ b/src/base58.h
@@ -148,7 +148,7 @@ public:
K ret;
if (vchData.size() == Size) {
// If base58 encoded data does not hold an ext key, return a !IsValid() key
- ret.Decode(&vchData[0]);
+ ret.Decode(vchData.data());
}
return ret;
}