Skip to content

Commit

Permalink
Update 20180407124949-node-config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
schrink authored Apr 23, 2018
1 parent b9a2923 commit 6246ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seeders/20180407124949-node-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require('dotenv').config();

const bootstrap_node = (process.env.BOOTSTRAP_NODE) ? `"${process.env.BOOTSTRAP_NODE}"` : '';
module.exports = {
up: (queryInterface, Sequelize) => queryInterface.bulkInsert('node_config', [{
key: 'node_wallet',
Expand Down Expand Up @@ -94,7 +95,7 @@ module.exports = {
value: '[]',
}, {
key: 'network_bootstrap_nodes',
value: `["${process.env.BOOTSTRAP_NODE}"]`,
value: `[${bootstrap_node}]`,
}, {
key: 'solve_hashes',
value: '0',
Expand Down

0 comments on commit 6246ed2

Please sign in to comment.