mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 06:25:55 +00:00
Change variable name
This commit is contained in:
parent
9e2b3844c2
commit
51b6534a78
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user