Skip to content

Commit

Permalink
Fix config merging
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Oct 30, 2022
1 parent 6308586 commit 2acf7d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chains/chain.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import _ from 'lodash'
import ChainApis from "./chainApis.js";
import ChainAsset from './chainAsset.js'

function Chain(client, data, paramsData, opts) {
const config = {
const config = _.merge({
consensusPrefix: `${data.chain.bech32_prefix}valcons`,
monitor: {
delegations: true,
slashes: true,
signing_info: true
},
...opts
}
}
}, opts)
const { path, chain, assetlist } = data;
const { params, versions, services, prices } = paramsData

Expand Down

0 comments on commit 2acf7d4

Please sign in to comment.