aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-09 14:11:06 -0500
committerJack Lloyd <[email protected]>2018-12-09 14:11:06 -0500
commit36a69507adcaf57fdb6a661807b255f01b8055d1 (patch)
tree998c744b620d23cb34cd346ba67ec2644b3d0fb0 /src
parent0b92da57db9397e799265a04eefc14852d2e4b28 (diff)
Make ASan happy
Diffstat (limited to 'src')
-rw-r--r--src/lib/codec/base58/base58.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/codec/base58/base58.cpp b/src/lib/codec/base58/base58.cpp
index 15925cc17..199dc3872 100644
--- a/src/lib/codec/base58/base58.cpp
+++ b/src/lib/codec/base58/base58.cpp
@@ -150,7 +150,7 @@ std::vector<uint8_t> base58_decode(const char input[], size_t input_length)
}
std::vector<uint8_t> output(v.bytes() + leading_zeros);
- v.binary_encode(&output[leading_zeros]);
+ v.binary_encode(output.data() + leading_zeros);
return output;
}