Skip to content

Commit

Permalink
pending false
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhson1085 committed Nov 7, 2019
1 parent aeb82af commit 91dd03e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ethereum/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (e *EthereumProvider) Decimals(token common.Address) (uint8, error) {
return 0, err
}

opts := &bind.CallOpts{Pending: true}
opts := &bind.CallOpts{Pending: false}
decimals, err := tokenInterface.Decimals(opts)
if err != nil {
logger.Error(err)
Expand Down Expand Up @@ -176,7 +176,7 @@ func (e *EthereumProvider) Symbol(token common.Address) (string, error) {
return "", err
}

opts := &bind.CallOpts{Pending: true}
opts := &bind.CallOpts{Pending: false}
symbol, err := tokenInterface.Symbol(opts)
if err != nil {
logger.Error(err)
Expand All @@ -193,7 +193,7 @@ func (e *EthereumProvider) BalanceOf(owner common.Address, token common.Address)
return nil, err
}

opts := &bind.CallOpts{Pending: true}
opts := &bind.CallOpts{Pending: false}
b, err := tokenInterface.BalanceOf(opts, owner)
if err != nil {
logger.Error(err)
Expand Down

0 comments on commit 91dd03e

Please sign in to comment.