Skip to content

Commit

Permalink
Merge branch 'implement-acp-77-logging' into implement-acp-77-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Oct 24, 2024
2 parents f705be4 + c9214ef commit 8c56d05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vms/platformvm/network/warp.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (s signatureRequestVerifier) verifySubnetConversion(
s.stateLock.Lock()
defer s.stateLock.Unlock()

conversionID, _, _, err := s.state.GetSubnetConversion(subnetID)
conversion, err := s.state.GetSubnetConversion(subnetID)
if err == database.ErrNotFound {
return &common.AppError{
Code: ErrConversionDoesNotExist,
Expand All @@ -123,10 +123,10 @@ func (s signatureRequestVerifier) verifySubnetConversion(
}
}

if msg.ID != conversionID {
if msg.ID != conversion.ConversionID {
return &common.AppError{
Code: ErrMismatchedConversionID,
Message: fmt.Sprintf("provided conversionID %q != expected conversionID %q", msg.ID, conversionID),
Message: fmt.Sprintf("provided conversionID %q != expected conversionID %q", msg.ID, conversion.ConversionID),
}
}

Expand Down

0 comments on commit 8c56d05

Please sign in to comment.