Mark pointer to databuffer/workbuffer as const

This commit is contained in:
Jorge Martins
2022-07-15 12:33:19 +02:00
parent 9ea16d9098
commit 2811917658
23 changed files with 43 additions and 39 deletions

View File

@@ -28,7 +28,7 @@ void convertUint256BE(uint8_t* data, uint32_t length, uint256_t* target);
int local_strchr(char* string, char ch);
uint64_t u64_from_BE(uint8_t* in, uint8_t size);
uint64_t u64_from_BE(const uint8_t* in, uint8_t size);
bool uint256_to_decimal(const uint8_t* value, size_t value_len, char* out, size_t out_len);