From 78cd2b4566e20487aa1f937bb7a1aa8bf25c96c1 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Thu, 6 Oct 2022 10:08:48 +0300 Subject: [PATCH] core: add example to VUB comment --- pkg/core/transaction/transaction.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/core/transaction/transaction.go b/pkg/core/transaction/transaction.go index 57047f8fe..557b20e59 100644 --- a/pkg/core/transaction/transaction.go +++ b/pkg/core/transaction/transaction.go @@ -47,7 +47,8 @@ type Transaction struct { NetworkFee int64 // 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 // Code to run in NeoVM for this transaction.