Skip to content

Commit

Permalink
adding experimental feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Nov 26, 2024
1 parent c6246b5 commit b0b3a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/rpcconsumer/rpcconsumer_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ func (rpccs *RPCConsumerServer) sendRelayToProvider(

isNodeError, _ := protocolMessage.CheckResponseError(localRelayResult.Reply.Data, localRelayResult.StatusCode)
reduceAvailability := false
if isNodeError {
if isNodeError && (chainId == "NEAR" || chainId == "NEART") {
// validate nodeError is matching our expectations for reducing availability.
reduceAvailability = strings.Contains(string(localRelayResult.Reply.Data), "The node does not track the shard ID")
}
Expand Down

0 comments on commit b0b3a9e

Please sign in to comment.