diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-10-09 16:40:36 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-10-09 16:41:06 +0200 |
commit | da0478e6e5d93d13178d098209f4397730b94065 (patch) | |
tree | 023ff3382c2cb40df86fe1d133fad6b9d1d4a3c3 /test/functional | |
parent | d473e6ddc55c5def795348a83211e470d04a5489 (diff) | |
parent | c6a995e7e5e6ae37dc1684f6060038e96864e947 (diff) |
Merge #10961: Improve readability of DecodeBase58Check(...)
c6a995e Improve readability of DecodeBase58Check(...) (practicalswift)
Pull request description:
Use the more readable form ...
```c++
&vchRet[vchRet.size() - 4]
```
... instead of ...
```c++
&v.end()[-n]
```
Has the added benefit of eliminating a spurious static analyzer warning about improper use of negative values.
Tree-SHA512: 5895310c189e9322082c28f34342ff9a6c238e2cae3f204521111c8a7981bc555af60b42de082c91608c1125dfc244a65c4faf929249a067a51435e2be74cb39
Diffstat (limited to 'test/functional')
0 files changed, 0 insertions, 0 deletions