Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Aug 10, 2023
1 parent ee18f34 commit 14e6140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ export function defineChain<
formatters extends ChainFormatters,
>(
chain: chain,
config?: ChainConfig<formatters>,
config: ChainConfig<formatters> = {},
): Assign<chain, ChainConfig<formatters>> {
const {
fees = chain.fees,
formatters = chain.formatters,
serializers = chain.serializers,
} = config || {}
} = config
return {
...chain,
fees,
Expand Down

0 comments on commit 14e6140

Please sign in to comment.