Skip to content

Commit

Permalink
fix(storageminer): fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed Dec 11, 2021
1 parent c16390c commit 4e9566e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/impl/storminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ func (tc *transferConverter) convertTransfer(channelID datatransfer.ChannelID, h
stateString = "no graphsync state found"
}
var channelIDPtr *datatransfer.ChannelID
if hasChannelID {
if !hasChannelID {
diagnostics = append(diagnostics, fmt.Sprintf("No data transfer channel id for GraphSync request ID %d", requestID))
} else {
channelIDPtr = &channelID
Expand Down

0 comments on commit 4e9566e

Please sign in to comment.