From 51b6534a7895bd317b5392db5c070e03271fbcb0 Mon Sep 17 00:00:00 2001 From: tal Date: Sun, 6 Jun 2021 12:12:31 +0300 Subject: [PATCH] Change variable name --- domain/consensus/timelock_CLTV_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/domain/consensus/timelock_CLTV_test.go b/domain/consensus/timelock_CLTV_test.go index ab9bbc281..4a808457b 100644 --- a/domain/consensus/timelock_CLTV_test.go +++ b/domain/consensus/timelock_CLTV_test.go @@ -160,8 +160,8 @@ func TestCheckLockTimeVerifyConditionedByAbsoluteTime(t *testing.T) { t.Fatalf("Failed getting blockD: %v", err) } //Create a CLTV script: - numOfSecondsToWait := int64(12 * 1000) - lockTimeTarget := blockD.Header.TimeInMilliseconds() + numOfSecondsToWait + timeToWait := int64(12 * 1000) + lockTimeTarget := blockD.Header.TimeInMilliseconds() + timeToWait redeemScriptCLTV, err := createScriptCLTV(lockTimeTarget) if err != nil { t.Fatalf("Failed to create a script using createScriptCLTV: %v", err)