Skip to content

Commit

Permalink
fix gosec issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie authored Jan 26, 2024
1 parent b2fee9c commit 46edcab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/ethrpc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,6 @@ type proxyTransaction struct {
}

func (proxy *proxyBlockWithTransactions) toBlock() Block {
// #nosec G103 - copied file from 3rd library, should be safe enough
return *(*Block)(unsafe.Pointer(proxy))
}

0 comments on commit 46edcab

Please sign in to comment.