Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Feb 9, 2024
1 parent 8c6917d commit 54821f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,20 +452,20 @@ func TestStore(t *testing.T) {
if block.NoOfBids != 3 {
t.Fatalf("Expected no of bids 3, got %d", block.NoOfBids)
}
if block.TotalAmount != 4000000 {
t.Fatalf("Expected total amount 4000000, got %d", block.TotalAmount)
if block.TotalAmount.String != "4000000" {
t.Fatalf("Expected total amount 4000000, got %s", block.TotalAmount.String)
}
if block.NoOfRewards != 1 {
t.Fatalf("Expected no of rewards 1, got %d", block.NoOfRewards)
}
if block.TotalRewards != 2000000 {
t.Fatalf("Expected total rewards 2000000, got %d", block.TotalRewards)
if block.TotalRewards.String != "2000000" {
t.Fatalf("Expected total rewards 2000000, got %s", block.TotalRewards.String)
}
if block.NoOfSlashes != 1 {
t.Fatalf("Expected no of slashes 1, got %d", block.NoOfSlashes)
}
if block.TotalSlashes != 1000000 {
t.Fatalf("Expected total slashes 1000000, got %d", block.TotalSlashes)
if block.TotalSlashes.String != "1000000" {
t.Fatalf("Expected total slashes 1000000, got %s", block.TotalSlashes.String)
}
if block.NoOfSettlements != 3 {
t.Fatalf("Expected no of settlements 3, got %d", block.NoOfSettlements)
Expand Down

0 comments on commit 54821f1

Please sign in to comment.