From c0e25d17063e6487f1eb46a4b208689b204076f5 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 6 Aug 2021 16:24:16 +0300 Subject: [PATCH] [#770] morph/client: Fix comment for `fallbackTime` `fallbackTime` is delta b/w `ValidUntilBlock` of the main transaction and block when `fallback` transaction is sent. Signed-off-by: Pavel Karpy --- pkg/morph/client/notary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index dc051e70..98847249 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -22,7 +22,7 @@ type ( notary struct { txValidTime uint32 // minimum amount of blocks when mainTx will be valid roundTime uint32 // extra amount of blocks to synchronize sidechain height diff of inner ring nodes - fallbackTime uint32 // amount of blocks before fallbackTx will be sent + fallbackTime uint32 // mainTx's ValidUntilBlock - fallbackTime + 1 is when fallbackTx is sent alphabetSource AlphabetKeys // source of alphabet node keys to prepare witness