Skip to content

Commit

Permalink
fix: incompatible types
Browse files Browse the repository at this point in the history
  • Loading branch information
notanatol committed Feb 2, 2022
1 parent c0c0d0a commit f55db4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ func NewBee(addr string, publicKey *ecdsa.PublicKey, signer crypto.Signer, netwo

var swapBackendEnabled bool // TODO: make configurable

if o.GatewayMode || o.BootnodeMode || o.SwapEnable || o.FullNodeMode {
swapBackendEnabled = true
}

if !swapBackendEnabled {
swapBackend = mockSwapBackend(logger)
}
Expand Down

0 comments on commit f55db4d

Please sign in to comment.