Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
catdev2024 committed Nov 4, 2024
1 parent 351b6d8 commit fe5ae21
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
hash160,
int2ByteString,
method,
Ripemd160,
SmartContractLib,
toByteString,
} from 'scrypt-ts'
Expand Down Expand Up @@ -97,7 +98,13 @@ export class NftOpenMinterMerkleTreeData {
return this.hashNodes[this.hashNodes.length - 1][0]
}

getMerklePath(leafIndex: number) {
getMerklePath(leafIndex: number): {
leaf: Ripemd160,
leafNode: NftMerkleLeaf,
neighbor: string[],
neighborType: boolean[],
merkleRoot: string,
} {
const leafNode = this.leafArray[leafIndex]
let prevHash = this.hashNodes[0]
const neighbor: string[] = []
Expand Down

0 comments on commit fe5ae21

Please sign in to comment.