Skip to content

Commit

Permalink
refactor(uint64.js): Use local constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Jul 30, 2018
1 parent af0155b commit 91cc2ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions uint64.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ const isBuffer = require('is-buffer')
const uint64be = require('uint64be')
const alloc = require('buffer-alloc-unsafe')

const {
kMinUInt64Size,
kDefaultUInt64Size,
} = require('./constants')
const kMinUInt64Size = 8
const kDefaultUInt64Size = kMinUInt64Size

/**
* Encode an unsigned 64-bit big endian number into a buffer
Expand Down

0 comments on commit 91cc2ce

Please sign in to comment.