diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 6d0511012..5c189f81a 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -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) diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index b4738d723..d1c689e5a 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit b4738d723ceefa3007c7d8f16d17755a661ee50b +Subproject commit d1c689e5abca4f679a5e2deda34047f7ecd4cd8b