bridge: default to 15 blocks ETH lockup

This commit is contained in:
Leo 2020-08-17 12:14:57 +02:00
parent 63a601030d
commit 24d38b12ea
1 changed files with 7 additions and 6 deletions

View File

@ -45,7 +45,7 @@ var (
ethRPC = flag.String("ethRPC", "", "Ethereum RPC URL")
ethContract = flag.String("ethContract", "", "Ethereum bridge contract address")
ethConfirmations = flag.Uint64("ethConfirmations", 5, "Ethereum confirmation count requirement")
ethConfirmations = flag.Uint64("ethConfirmations", 15, "Ethereum confirmation count requirement")
logLevel = flag.String("loglevel", "info", "Logging level (debug, info, warn, error, dpanic, panic, fatal)")
)
@ -184,6 +184,7 @@ func bootstrapNodePrivateKeyHack() crypto.PrivKey {
}
func p2p(ctx context.Context) error {
logger := supervisor.Logger(ctx)
priv := bootstrapNodePrivateKeyHack()