Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign Transactions with multisig #237

Open
wants to merge 2 commits into
base: sigma-5.0.14
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ assemblyMergeStrategy in assembly := {

lazy val allConfigDependency = "compile->compile;test->test"

val sigmaStateVersion = "5.0.14"
val sigmaStateVersion = "5.0.14-69-e71d0da3-SNAPSHOT"
val ergoWalletVersion = "5.0.19-4-9f5a24bf-SNAPSHOT"
lazy val sigmaState = ("org.scorexfoundation" %% "sigma-state" % sigmaStateVersion).force()
.exclude("ch.qos.logback", "logback-classic")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import sigma.ast.{EvaluatedValue, Constant, ErgoTree}
import sigma.data.CSigmaDslBuilder.validationSettings
import sigma.interpreter.ContextExtension
import sigma.serialization.ErgoTreeSerializer
import sigmastate.eval.CompiletimeIRContext
import sigma.compiler.ir.CompiletimeIRContext
import org.ergoplatform.sdk.SdkIsos._
import java.util
import java.util.{List => JList}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ErgoProverImpl(_ctx: BlockchainContextBase,
}

override def signReduced(tx: ReducedTransaction, baseCost: Int): SignedTransaction = {
val signed = _prover.signReduced(sdk.ReducedTransaction(tx.getTx), baseCost)
val signed = _prover.signReduced(sdk.ReducedTransaction(tx.getTx), baseCost, None)
new SignedTransactionImpl(_ctx, signed.ergoTx, signed.cost)
}

Expand Down
Loading