Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: allow setting Addresses.Delegates
Browse files Browse the repository at this point in the history
Adds Delegates as optional array in node config.
Context: #2195

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
lidel committed Jul 12, 2019
1 parent 4ee28e0 commit 2ae6b67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const configSchema = s({
config: optional(s({
API: 'object?',
Addresses: optional(s({
Delegates: optional(s(['multiaddr'])),
Swarm: optional(s(['multiaddr'])),
API: 'multiaddr?',
Gateway: 'multiaddr'
Expand Down

0 comments on commit 2ae6b67

Please sign in to comment.