diff options
author | Jack Lloyd <[email protected]> | 2018-12-09 14:11:06 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-09 14:11:06 -0500 |
commit | 36a69507adcaf57fdb6a661807b255f01b8055d1 (patch) | |
tree | 998c744b620d23cb34cd346ba67ec2644b3d0fb0 | |
parent | 0b92da57db9397e799265a04eefc14852d2e4b28 (diff) |
Make ASan happy
-rw-r--r-- | src/lib/codec/base58/base58.cpp | 2 |
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; } |