Fix #2125 (ETH status bar display); Bump LibP2P
This commit is contained in:
parent
3e4b49462b
commit
4feb0a308e
|
@ -895,7 +895,10 @@ func formatGwei(amount: uint64): string =
|
|||
result = $eth
|
||||
if remainder != 0:
|
||||
result.add '.'
|
||||
result.add $remainder
|
||||
let remainderStr = $remainder
|
||||
for i in remainderStr.len ..< 9:
|
||||
result.add '0'
|
||||
result.add remainderStr
|
||||
while result[^1] == '0':
|
||||
result.setLen(result.len - 1)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b4738d723ceefa3007c7d8f16d17755a661ee50b
|
||||
Subproject commit d1c689e5abca4f679a5e2deda34047f7ecd4cd8b
|
Loading…
Reference in New Issue