bridge: default to 15 blocks ETH lockup
This commit is contained in:
parent
63a601030d
commit
24d38b12ea
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue