Skip to content

Commit

Permalink
fix: disable auth when off chain service
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao committed Nov 30, 2023
1 parent 69d2399 commit fefcffe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ func (m *MarketConfig) GetMessager() Messager {
}

func (m *MarketConfig) GetAuthNode() AuthNode {
if m.Signer.SignerType == SignerTypeWallet {
return AuthNode{}
}

ret := AuthNode{}
if m.AuthNode != nil {
ret = *m.AuthNode
Expand Down

0 comments on commit fefcffe

Please sign in to comment.