Skip to content

Commit 9d9a4fd

Browse files
committed
fix lint
1 parent f5ee513 commit 9d9a4fd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

crypto/keys/internal/ecdsa/privkey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ func (sk *PrivKey) Unmarshal(bz []byte, curve elliptic.Curve, expectedSize int)
118118

119119
sk.Curve = curve
120120
sk.D = new(big.Int).SetBytes(bz)
121-
sk.X, sk.Y = curve.ScalarBaseMult(bz) // nolint:staticcheck // keep this as this is widely tested
121+
sk.X, sk.Y = curve.ScalarBaseMult(bz)
122122
return nil
123123
}

x/staking/types/keys.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ var (
5151
RedelegationQueueKey = []byte{0x42} // prefix for the timestamps in redelegations queue
5252
ValidatorQueueKey = []byte{0x43} // prefix for the timestamps in validator queue
5353

54-
// Pending queue slot indexes: store the set of (time, height) or (time) slots that
55-
// have queue entries, so end-block can process without iterating from prefix start.
5654
ValidatorQueuePendingSlotsKey = []byte{0x44} // single key: pending validator queue slots
5755
UBDQueuePendingSlotsKey = []byte{0x45} // single key: pending UBD queue times
5856
RedelegationQueuePendingSlotsKey = []byte{0x46} // single key: pending redelegation queue times

0 commit comments

Comments
 (0)