Skip to content

Commit

Permalink
Convert proofs on contract to slices
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrun5 committed Dec 4, 2023
1 parent 02179d1 commit 33eec6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chains/evm/contracts/spectre.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ func (c *Spectre) Step(stepInput message.SyncStepInput, stepProof [32]byte, opts
return c.ExecuteTransaction(
"step",
opts,
stepInput, stepProof,
stepInput, stepProof[:],
)
}

func (c *Spectre) Rotate(rotateInput message.RotateInput, rotateProof [32]byte, stepInput message.SyncStepInput, stepProof [32]byte, opts transactor.TransactOptions) (*common.Hash, error) {
return c.ExecuteTransaction(
"rotate",
opts,
rotateInput, rotateProof, stepInput, stepProof,
rotateInput, rotateProof[:], stepInput, stepProof[:],
)
}

0 comments on commit 33eec6c

Please sign in to comment.