Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Dec 20, 2024
1 parent c503f67 commit d51a39b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/external/transactionAPI/apiTransactionProcessor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,9 @@ func TestNode_PutHistoryFieldsInTransaction(t *testing.T) {
NotarizedAtDestinationInMetaNonce: 4253,
NotarizedAtDestinationInMetaHash: []byte{12},
}
n, _, _, _ := createAPITransactionProc(t, 42, true)

putMiniblockFieldsInTransaction(tx, metadata)
n.putMiniblockFieldsInTransaction(tx, metadata)

require.Equal(t, 42, int(tx.Epoch))
require.Equal(t, 4321, int(tx.Round))
Expand Down

0 comments on commit d51a39b

Please sign in to comment.