Skip to content

Commit 219a7bc

Browse files
committed
shutter-service: remove math/rand pkg
1 parent 7c72e6c commit 219a7bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rolling-shutter/keyperimpl/shutterservice/newblock_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package shutterservice
33
import (
44
"context"
55
"math/big"
6-
"math/rand"
76
"testing"
87
"time"
98

@@ -79,8 +78,8 @@ func TestProcessBlockSuccess(t *testing.T) {
7978
_, err = serviceDB.InsertIdentityRegisteredEvent(ctx, servicedatabase.InsertIdentityRegisteredEventParams{
8079
BlockNumber: int64(activationBlockNumber + 1),
8180
BlockHash: blockHash,
82-
TxIndex: rand.Int63(),
83-
LogIndex: rand.Int63(),
81+
TxIndex: 1,
82+
LogIndex: 1,
8483
Eon: int64(config.GetEon()),
8584
IdentityPrefix: identityPrefix,
8685
Sender: sender.Hex(),

0 commit comments

Comments
 (0)