Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
phearnot committed Sep 2, 2024
1 parent b5d9ec5 commit 71443b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/units/client/contract/ContractFunction.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import cats.syntax.either.*

abstract class ContractFunction(name: String, reference: BlockHash, extraArgs: Either[CommonError, List[EVALUATED]]) {
def toFunctionCall(blockHash: BlockHash, transfersRootHash: Digest, lastClToElTransferIndex: Long): Job[FUNCTION_CALL] = (for {
hash <- CONST_STRING(blockHash)
ref <- CONST_STRING(reference)
hash <- CONST_STRING(toHexNoPrefix(blockHash.getBytes))
ref <- CONST_STRING(toHexNoPrefix(reference.getBytes))
trh <- CONST_STRING(toHexNoPrefix(transfersRootHash))
xtra <- extraArgs
} yield FUNCTION_CALL(
Expand Down

0 comments on commit 71443b4

Please sign in to comment.