Skip to content

Commit 1a009c9

Browse files
committed
fix: update test
1 parent d2d850e commit 1a009c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/rewards/show_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"math/big"
77
"testing"
88

9-
"github.com/ethereum/go-ethereum/accounts/abi/bind"
109
gethcommon "github.com/ethereum/go-ethereum/common"
1110
"github.com/stretchr/testify/assert"
1211
)
@@ -88,7 +87,7 @@ type FakeELReader struct {
8887
}
8988

9089
func (f *FakeELReader) GetCumulativeClaimed(
91-
opts *bind.CallOpts,
90+
ctx context.Context,
9291
earnerAddress, tokenAddress gethcommon.Address,
9392
) (*big.Int, error) {
9493
if f.shouldError {

0 commit comments

Comments
 (0)