@@ -16,7 +16,7 @@ import {
17const SEED_LENGTH_BYTES = SEED_ENTROPY_BITS / 8;
17const SEED_LENGTH_BYTES = SEED_ENTROPY_BITS / 8;
19−const getEntropyBits = point =>
19+const getTicketBitSize = point =>
20 point < MIN_STAR
20 point < MIN_STAR
21 ? GALAXY_ENTROPY_BITS
21 ? GALAXY_ENTROPY_BITS
22 : point < MIN_PLANET
22 : point < MIN_PLANET
@@ -25,7 +25,7 @@ const getEntropyBits = point =>
26// returns a promise for a ticket string
26// returns a promise for a ticket string
27export const makeTicket = point => {
27export const makeTicket = point => {
28− const bits = getEntropyBits(point);
28+ const bits = getTicketBitSize(point);
30 const bytes = bits / 8;
30 const bytes = bits / 8;
31 const some = new Uint8Array(bytes);
31 const some = new Uint8Array(bytes);
@@ -48,7 +48,7 @@ export const makeTicket = point => {
50export const makeDeterministicTicket = (point, seed) => {
50export const makeDeterministicTicket = (point, seed) => {
51− const bits = getEntropyBits(point);
51+ const bits = getTicketBitSize(point);
53 const bytes = bits / 8;
53 const bytes = bits / 8;