mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-31 16:21:21 +00:00
117838e213
* Move compatibility check * Implement Alex's suggestion * Use root context * Fix lint * Fix lint Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
20 lines
320 B
Go
20 lines
320 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/ledgerwatch/turbo-geth/cmd/integration/commands"
|
|
"github.com/ledgerwatch/turbo-geth/cmd/utils"
|
|
)
|
|
|
|
func main() {
|
|
rootCmd := commands.RootCommand()
|
|
ctx, _ := utils.RootContext()
|
|
|
|
if err := rootCmd.ExecuteContext(ctx); err != nil {
|
|
fmt.Println(err)
|
|
os.Exit(1)
|
|
}
|
|
}
|