We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c72e6c commit 219a7bcCopy full SHA for 219a7bc
rolling-shutter/keyperimpl/shutterservice/newblock_test.go
@@ -3,7 +3,6 @@ package shutterservice
3
import (
4
"context"
5
"math/big"
6
- "math/rand"
7
"testing"
8
"time"
9
@@ -79,8 +78,8 @@ func TestProcessBlockSuccess(t *testing.T) {
79
78
_, err = serviceDB.InsertIdentityRegisteredEvent(ctx, servicedatabase.InsertIdentityRegisteredEventParams{
80
BlockNumber: int64(activationBlockNumber + 1),
81
BlockHash: blockHash,
82
- TxIndex: rand.Int63(),
83
- LogIndex: rand.Int63(),
+ TxIndex: 1,
+ LogIndex: 1,
84
Eon: int64(config.GetEon()),
85
IdentityPrefix: identityPrefix,
86
Sender: sender.Hex(),
0 commit comments