mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Merge pull request #25 from astriaorg/joroshiba/fix_overrides
Fix sequencer submission override
This commit is contained in:
commit
82426dfc97
1 changed files with 4 additions and 8 deletions
|
|
@ -16,17 +16,13 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
func sendTransactionToSequencer(ctx context.Context, txBytes []byte) error {
|
func sendTransactionToSequencer(ctx context.Context, txBytes []byte) error {
|
||||||
var (
|
chainID := os.Getenv("CHAIN_ID")
|
||||||
chainID, cometbftRPCEndpoint string
|
if chainID == "" {
|
||||||
)
|
|
||||||
|
|
||||||
envChainId := os.Getenv("CHAIN_ID")
|
|
||||||
if envChainId == "" {
|
|
||||||
chainID = defaultChainID
|
chainID = defaultChainID
|
||||||
}
|
}
|
||||||
|
|
||||||
envCometbftRPCEndpoint := os.Getenv("COMETBFT_RPC_ENDPOINT")
|
cometbftRPCEndpoint := os.Getenv("COMETBFT_RPC_ENDPOINT")
|
||||||
if envCometbftRPCEndpoint == "" {
|
if cometbftRPCEndpoint == "" {
|
||||||
cometbftRPCEndpoint = defaultCometbftRPCEndpoint
|
cometbftRPCEndpoint = defaultCometbftRPCEndpoint
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue