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
This commit is contained in:
Roman Khimov 2021-11-15 17:32:14 +03:00
parent 0e1fe2f58b
commit f48dffe0e6

View file

@ -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(),