Skip to content

Commit fd2790d

Browse files
committed
Merge pull request #170 from braydonf/coverage
Improve test coverage and cleanup.
2 parents 28beb92 + d56986f commit fd2790d

18 files changed

+923
-409
lines changed

example/index.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

integration/livenet-block-data.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

integration/livenet-spents.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

integration/livenet-tx-data.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

integration/livenet.js

Lines changed: 0 additions & 188 deletions
This file was deleted.

integration/testnet-block-data.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

integration/testnet-tx-data.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/scaffold/default-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function getDefaultConfig() {
1212
config: {
1313
datadir: process.env.BITCORENODE_DIR || path.resolve(process.env.HOME, '.bitcoin'),
1414
network: process.env.BITCORENODE_NETWORK || 'livenet',
15-
port: process.env.BITCORENODE_PORT || 3001,
15+
port: Number(process.env.BITCORENODE_PORT) || 3001,
1616
services: ['bitcoind', 'db', 'address', 'web']
1717
}
1818
};

0 commit comments

Comments
 (0)