Fix subscript[0] in base58.cpp

This commit is contained in:
Jeremy Rubin
2018-04-23 22:12:53 +01:00
committed by Jack Grigg
parent b37b4b2fa3
commit 1b34996b21
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -194,8 +194,8 @@ public:
K GetKey() {
K ret;
if (vchData.size() == Size) {
//if base58 encoded data not holds a ext key, return a !IsValid() key
ret.Decode(&vchData[0]);
// If base58 encoded data does not hold an ext key, return a !IsValid() key
ret.Decode(vchData.data());
}
return ret;
}