@@ -24,7 +24,7 @@ import (
24
24
"strings"
25
25
"sync"
26
26
27
- "github.com/XinFinOrg/XDPoSChain"
27
+ ethereum "github.com/XinFinOrg/XDPoSChain"
28
28
"github.com/XinFinOrg/XDPoSChain/accounts/abi"
29
29
"github.com/XinFinOrg/XDPoSChain/common"
30
30
"github.com/XinFinOrg/XDPoSChain/core/types"
@@ -164,7 +164,7 @@ func (c *BoundContract) Call(opts *CallOpts, results *[]interface{}, method stri
164
164
return err
165
165
}
166
166
var (
167
- msg = XDPoSChain .CallMsg {From : opts .From , To : & c .address , Data : input , GasPrice : common .MinGasPrice50x , Gas : uint64 (4200000 )}
167
+ msg = ethereum .CallMsg {From : opts .From , To : & c .address , Data : input , GasPrice : common .MinGasPrice50x , Gas : uint64 (4200000 )}
168
168
ctx = ensureContext (opts .Context )
169
169
code []byte
170
170
output []byte
@@ -339,7 +339,7 @@ func (c *BoundContract) estimateGasLimit(opts *TransactOpts, contract *common.Ad
339
339
return 0 , ErrNoCode
340
340
}
341
341
}
342
- msg := XDPoSChain .CallMsg {
342
+ msg := ethereum .CallMsg {
343
343
From : opts .From ,
344
344
To : contract ,
345
345
GasPrice : gasPrice ,
@@ -420,7 +420,7 @@ func (c *BoundContract) FilterLogs(opts *FilterOpts, name string, query ...[]int
420
420
// Start the background filtering
421
421
logs := make (chan types.Log , 128 )
422
422
423
- config := XDPoSChain .FilterQuery {
423
+ config := ethereum .FilterQuery {
424
424
Addresses : []common.Address {c .address },
425
425
Topics : topics ,
426
426
FromBlock : new (big.Int ).SetUint64 (opts .Start ),
@@ -466,7 +466,7 @@ func (c *BoundContract) WatchLogs(opts *WatchOpts, name string, query ...[]inter
466
466
// Start the background filtering
467
467
logs := make (chan types.Log , 128 )
468
468
469
- config := XDPoSChain .FilterQuery {
469
+ config := ethereum .FilterQuery {
470
470
Addresses : []common.Address {c .address },
471
471
Topics : topics ,
472
472
}
0 commit comments