lib: toHex -> toHexString & toBase -> toBaseDigits

This makes the type of these functions more apparent from the name.
This commit is contained in:
Bas van Dijk
2020-07-20 13:14:19 +02:00
parent e15815e885
commit 6e7822b8f3
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ let
pkgs.lib.optionalString (n < 16) "0" +
(if n > 255
then throw "Can't have more than 255 nets or nodes!"
else pkgs.lib.toHex n);
else pkgs.lib.toHexString n);
in
rec {