Skip to content
Snippets Groups Projects

[chain] Binance Smart Chain (Bifrost Refactor Avalanche -> EVM)

Merged Ursa (9R) requested to merge ursa/bsc into develop
All threads resolved!
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -8,12 +8,13 @@ import (
"time"
ecore "github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/txpool"
ethclient "github.com/ethereum/go-ethereum/ethclient"
"gitlab.com/thorchain/thornode/common"
)
func isAcceptableError(err error) bool {
return err == nil || err.Error() == ecore.ErrAlreadyKnown.Error() || strings.HasPrefix(err.Error(), ecore.ErrNonceTooLow.Error())
return err == nil || err.Error() == txpool.ErrAlreadyKnown.Error() || strings.HasPrefix(err.Error(), ecore.ErrNonceTooLow.Error())
}
// getChainID retrieves the chain id from the node - if this fails we assume local net
Loading