From f48dffe0e683c529c0203e106cd2b654a7df9add Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Mon, 15 Nov 2021 17:32:14 +0300 Subject: [PATCH] core: fix fallback VUB value in notary test Serializing/deserializing the payload yields this: Error: Received unexpected error: both main and fallback transactions should have the same ValidUntil value --- pkg/core/notary_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/notary_test.go b/pkg/core/notary_test.go index 784b477db..7b35be0fd 100644 --- a/pkg/core/notary_test.go +++ b/pkg/core/notary_test.go @@ -146,7 +146,7 @@ func TestNotary(t *testing.T) { fallback.Nonce = nonce nonce++ fallback.SystemFee = 1_0000_0000 - fallback.ValidUntilBlock = bc.BlockHeight() + 50 + fallback.ValidUntilBlock = bc.BlockHeight() + 2*nvbDiffFallback fallback.Signers = []transaction.Signer{ { Account: bc.GetNotaryContractScriptHash(),