Skip to content

Commit 3a49028

Browse files
committed
update test check
1 parent a70b838 commit 3a49028

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

process/block/gasConsumption_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -784,11 +784,7 @@ func TestGasConsumption_CrossShardStuck(t *testing.T) {
784784

785785
args.BlockTracker = &mock.BlockTrackerMock{
786786
IsShardStuckCalled: func(shardId uint32) bool {
787-
if shardId == stuckShard {
788-
return true
789-
}
790-
791-
return false
787+
return shardId == stuckShard
792788
},
793789
}
794790

0 commit comments

Comments
 (0)