Skip to content
This repository has been archived by the owner. It is now read-only.

sync v2 #13197

Closed
wants to merge 16 commits into from

split passphrase into words for test

auditors: @cezaraugusto
  • Loading branch information
diracdeltas authored and cezaraugusto committed Apr 9, 2018
commit 23cf563f5f0df2549b9463a3c28ebfdfc65a0a0a
@@ -10,7 +10,7 @@ const addBookmarksN = function (total) {
const buffer = Buffer.alloc(2)
for (let n = 0; n < total; n++) {
buffer.writeUInt16BE(n)
const string = passphrase.fromBytesOrHex(buffer)[0]
const string = passphrase.fromBytesOrHex(buffer).split(' ')[0]
data.push({
location: `https://www.${string}.com`,
title: string,
@@ -32,7 +32,7 @@ const addTabsN = function (total) {
const buffer = Buffer.alloc(2)
for (let n = 0; n < total; n++) {
buffer.writeUInt16BE(n)
const string = passphrase.fromBytesOrHex(buffer)[0]
const string = passphrase.fromBytesOrHex(buffer).split(' ')[0]
data.push({
active: false,
discarded: true,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.