Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Nov 12, 2024
1 parent 26c5efc commit d30ea52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/chains/solana/signer/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (signer *Signer) prepareWhitelistTx(
// SetGatewayAddress sets the gateway address
func (signer *Signer) SetGatewayAddress(address string) {
// noop
if address == "" {
if address == "" || signer.gatewayID.String() == address {
return
}

Check warning on line 264 in zetaclient/chains/solana/signer/signer.go

View check run for this annotation

Codecov / codecov/patch

zetaclient/chains/solana/signer/signer.go#L263-L264

Added lines #L263 - L264 were not covered by tests

Expand Down

0 comments on commit d30ea52

Please sign in to comment.