scripts/test.sh: boost CSV time to 512 seconds.

As per BIP68, that's the minimum.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-01-22 06:38:08 +10:30
parent 4e23f9916d
commit f710ba7c37

View file

@ -4,8 +4,9 @@ set -e
# Expect to be run from test-cli dir.
. scripts/vars.sh
# How long to lock transactions (unrealistically short, for testing)
TEST_LOCKTIME=30
# How long to lock transactions
# CSV only supports 512-second granularity, so that's the minimum.
TEST_LOCKTIME=512
getpubkey()
{