Skip to content

Commit

Permalink
[harmony] Init Harmony (trustwallet#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxfactorial authored and kolya182 committed Sep 6, 2019
1 parent 43b993b commit 251af67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified blockchains/binance/assets/one-5f9/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blockchains/harmony/info/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function checkRootDir () {
checkBlockhainsFolder()

function checkBlockhainsFolder(){
const currentBlockchains = 59
const currentBlockchains = 60;

const foundBlockchains = readDirSync(blockchainsFolderPath)

if (foundBlockchains.length !== currentBlockchains) {
Expand All @@ -49,7 +49,7 @@ function checkBlockhainsFolder(){
if (uppercaseExp.test(asset)) {
exitWithMsg(`${asset} folder must be in lowercase`)
}

if (!isEthereumAddress(asset)) {
exitWithMsg(`Invalid asset naming "${assetsPath}"`)
}
Expand Down Expand Up @@ -160,7 +160,7 @@ function checkValidatorsFolder(networkPath) {
if (keys.length !== 4) {
exitWithMsg(`Add test for new validator object key: ${keys.length}`)
}

keys.forEach(key => {
const keyType = typeof key
if (keyType !== "string") {
Expand Down Expand Up @@ -192,4 +192,4 @@ function exitWithMsg (msg) {
process.exit(1)
}

console.log(`\nPassed all tests`)
console.log(`\nPassed all tests`)

0 comments on commit 251af67

Please sign in to comment.