Skip to content

Commit

Permalink
record args in mock transactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-shim committed Jun 24, 2024
1 parent 7806dfb commit 0d4e6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/mock/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (t *MockTransactor) UpdateOperatorSocket(ctx context.Context, socket string
}

func (t *MockTransactor) BuildEjectOperatorsTxn(ctx context.Context, operatorsByQuorum [][]core.OperatorID) (*types.Transaction, error) {
args := t.Called()
args := t.Called(ctx, operatorsByQuorum)
result := args.Get(0)
return result.(*types.Transaction), args.Error(1)
}
Expand Down

0 comments on commit 0d4e6b1

Please sign in to comment.