Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remyhaemmerle-da committed May 13, 2020
1 parent fbf6a21 commit da04792
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ object KVTest {

def runCommand(
submitter: Party,
submissionSeed: Option[crypto.Hash],
submissionSeed: crypto.Hash,
additionalContractDataTy: String,
cmds: Command*,
): KVTest[(Transaction.AbsTransaction, Transaction.Metadata)] =
Expand Down Expand Up @@ -198,7 +198,7 @@ object KVTest {

def runSimpleCommand(
submitter: Party,
submissionSeed: Option[crypto.Hash],
submissionSeed: crypto.Hash,
cmds: Command*,
): KVTest[(Transaction.AbsTransaction, Transaction.Metadata)] =
runCommand(submitter, submissionSeed, defaultAdditionalContractDataTy, cmds: _*)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,5 +338,5 @@ class KVUtilsTransactionSpec extends WordSpec with Matchers {
}
}

private def hash(s: String) = Some(crypto.Hash.hashPrivateKey(s))
private def hash(s: String) = crypto.Hash.hashPrivateKey(s)
}

0 comments on commit da04792

Please sign in to comment.