mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cleaner
This commit is contained in:
parent
70e8118b27
commit
150c994d15
1 changed files with 2 additions and 6 deletions
|
|
@ -16,16 +16,12 @@ const (
|
|||
)
|
||||
|
||||
func sendTransactionToSequencer(ctx context.Context, txBytes []byte) error {
|
||||
var (
|
||||
chainID, cometbftRPCEndpoint string
|
||||
)
|
||||
|
||||
chainID = os.Getenv("CHAIN_ID")
|
||||
chainID := os.Getenv("CHAIN_ID")
|
||||
if chainID == "" {
|
||||
chainID = defaultChainID
|
||||
}
|
||||
|
||||
cometbftRPCEndpoint = os.Getenv("COMETBFT_RPC_ENDPOINT")
|
||||
cometbftRPCEndpoint := os.Getenv("COMETBFT_RPC_ENDPOINT")
|
||||
if cometbftRPCEndpoint == "" {
|
||||
cometbftRPCEndpoint = defaultCometbftRPCEndpoint
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue