mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-01 23:45:50 +00:00
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:
parent
0e1fe2f58b
commit
f48dffe0e6
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ func TestNotary(t *testing.T) {
|
||||||
fallback.Nonce = nonce
|
fallback.Nonce = nonce
|
||||||
nonce++
|
nonce++
|
||||||
fallback.SystemFee = 1_0000_0000
|
fallback.SystemFee = 1_0000_0000
|
||||||
fallback.ValidUntilBlock = bc.BlockHeight() + 50
|
fallback.ValidUntilBlock = bc.BlockHeight() + 2*nvbDiffFallback
|
||||||
fallback.Signers = []transaction.Signer{
|
fallback.Signers = []transaction.Signer{
|
||||||
{
|
{
|
||||||
Account: bc.GetNotaryContractScriptHash(),
|
Account: bc.GetNotaryContractScriptHash(),
|
||||||
|
|
Loading…
Reference in a new issue