ERC-20 tokens support for a simple set of tokens - display additional transaction details
This commit is contained in:
@@ -250,7 +250,9 @@ bool adjustDecimals(char *src, uint32_t srcLength, char *target,
|
||||
while (offset < delta) {
|
||||
target[offset++] = src[sourceOffset++];
|
||||
}
|
||||
target[offset++] = '.';
|
||||
if (decimals != 0) {
|
||||
target[offset++] = '.';
|
||||
}
|
||||
startOffset = offset;
|
||||
while (sourceOffset < srcLength) {
|
||||
target[offset++] = src[sourceOffset++];
|
||||
|
||||
Reference in New Issue
Block a user