Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Jun 6, 2024
1 parent 302288f commit cca5589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/chains/bitcoin/observer/observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ func (ob *Observer) GetLastBlockHeight() int64 {

func (ob *Observer) SetLastBlockHeightScanned(height int64) {
atomic.StoreInt64(&ob.lastBlockScanned, height)
// #nosec G701 checked as positive
ob.ts.SetLastScannedBlockNumber((ob.chain.ChainName), uint64(height))

Check warning on line 360 in zetaclient/chains/bitcoin/observer/observer.go

View check run for this annotation

Codecov / codecov/patch

zetaclient/chains/bitcoin/observer/observer.go#L360

Added line #L360 was not covered by tests
}

Expand Down

0 comments on commit cca5589

Please sign in to comment.