From dca61811bd8dc839b97178d9c862d65c210c3af2 Mon Sep 17 00:00:00 2001 From: Alexander Slesarenko Date: Tue, 26 Sep 2023 22:38:21 +0200 Subject: [PATCH] v5.0.11-fix1: abstract classes for BlockchainParameters and BlockchainStateContext --- .../wallet/protocol/context/BlockchainStateContext.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/shared/src/main/scala/org/ergoplatform/sdk/wallet/protocol/context/BlockchainStateContext.scala b/sdk/shared/src/main/scala/org/ergoplatform/sdk/wallet/protocol/context/BlockchainStateContext.scala index e2fc88eaf9..985a4acf8d 100644 --- a/sdk/shared/src/main/scala/org/ergoplatform/sdk/wallet/protocol/context/BlockchainStateContext.scala +++ b/sdk/shared/src/main/scala/org/ergoplatform/sdk/wallet/protocol/context/BlockchainStateContext.scala @@ -5,16 +5,16 @@ import special.collection.Coll /** Blockchain context used in tx signing. */ abstract class BlockchainStateContext { /** Fixed number (10 in Ergo) of last block headers. */ - def sigmaLastHeaders: Coll[sigma.Header] + def sigmaLastHeaders: Coll[special.sigma.Header] /** UTXO set digest from a last header (of sigmaLastHeaders). */ def previousStateDigest: Coll[Byte] /** Returns pre-header (header without certain fields) of the current block. */ - def sigmaPreHeader: sigma.PreHeader + def sigmaPreHeader: special.sigma.PreHeader } /** Blockchain context used in tx signing. */ case class CBlockchainStateContext( - sigmaLastHeaders: Coll[sigma.Header], + sigmaLastHeaders: Coll[special.sigma.Header], previousStateDigest: Coll[Byte], - sigmaPreHeader: sigma.PreHeader + sigmaPreHeader: special.sigma.PreHeader ) extends BlockchainStateContext