]> Git Repo - VerusCoin.git/blob - src/zcash/util.cpp
Do not encode leading bytes in `PaymentAddress` serialization; this is a task for...
[VerusCoin.git] / src / zcash / util.cpp
1 #include "zcash/util.h"
2 #include <algorithm>
3
4 std::vector<unsigned char> convertIntToVectorLE(const uint64_t val_int) {
5     std::vector<unsigned char> bytes;
6
7     for(size_t i = 0; i < 8; i++) {
8         bytes.push_back(val_int >> (i * 8));
9     }
10
11     return bytes;
12 }
This page took 0.024382 seconds and 4 git commands to generate.