Merge pull request #2728 from nspcc-dev/fix-vub-comment

core: add example to VUB comment
This commit is contained in:
Roman Khimov 2022-10-06 16:33:24 +07:00 committed by GitHub
commit 4616600636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,8 @@ type Transaction struct {
NetworkFee int64 NetworkFee int64
// Maximum blockchain height exceeding which // Maximum blockchain height exceeding which
// transaction should fail verification. // transaction should fail verification. E.g. if VUB=N, then transaction
// can be accepted to block with index N, but not to block with index N+1.
ValidUntilBlock uint32 ValidUntilBlock uint32
// Code to run in NeoVM for this transaction. // Code to run in NeoVM for this transaction.