File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ function formatExtensionCriticalTag(extension) {
184184 */
185185function formatHexOntoMultiLine ( hex ) {
186186 if ( hex . length % 2 !== 0 ) {
187- hex = "0" + hex
187+ hex = "0" + hex ;
188188 }
189189
190190 return formatMultiLine ( chop ( hex . replace ( / ( ..) / g, "$&:" ) ) ) ;
@@ -197,9 +197,8 @@ function formatHexOntoMultiLine(hex) {
197197 */
198198function absBigIntToHex ( int ) {
199199 int = int < 0n ? - int : int ;
200- let hInt = int . toString ( 16 ) ;
201200
202- return ensureHexIsPositiveInTwosComplement ( hInt ) ;
201+ return ensureHexIsPositiveInTwosComplement ( int . toString ( 16 ) ) ;
203202}
204203
205204/**
@@ -217,7 +216,7 @@ function ensureHexIsPositiveInTwosComplement(hex) {
217216 hex = "00" + hex ;
218217 }
219218
220- return hex
219+ return hex ;
221220}
222221
223222/**
You can’t perform that action at this time.
0 commit comments