Skip to content

Make an ErgoScript function to compare two instances ErgoTree without headers #1075

@kushti

Description

@kushti

example how tree hash is compared with expected , with no header byte considered

  val receiptTreeHash = blake2b256(receiptOutputErgoTree.slice(1, receiptOutputErgoTree.size))

Make a high-level ErgoScript function to skip header byte

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions