Skip to content

Commit

Permalink
docs: Fix loading POW address logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Jun 13, 2024
1 parent 65d49ce commit 81355c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/web3/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ func NewContracts(
}

powAddress := options.PowAddress
log.Debug().Msgf("TokenAddress: %s", powAddress)
log.Debug().Msgf("POWAddress: %s", powAddress)
if powAddress == "" {
loadedPowAddress, err := controller.GetPowAddress(callOpts)
if err != nil {
return nil, err
}
powAddress = loadedPowAddress.String()
log.Debug().
Str("load token address", powAddress).
Str("load POW address", powAddress).
Msgf("")
}

Expand Down

0 comments on commit 81355c2

Please sign in to comment.