Skip to content

Commit 19295e2

Browse files
Make Post0132Hash public
1 parent 162ead5 commit 19295e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/block.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func blockHash(b *Block, stateDiff *StateDiff, network *utils.Network, overrideS
145145

146146
// if 0.13.2 <= block.version < 0.13.4
147147
if blockVer.GreaterThanEqual(Ver0_13_2) {
148-
return post0132Hash(b, stateDiff)
148+
return Post0132Hash(b, stateDiff)
149149
}
150150

151151
// following statements applied only if block.version < 0.13.2
@@ -245,7 +245,7 @@ func post0134Hash(b *Block, stateDiff *StateDiff) (*felt.Felt, *BlockCommitments
245245
}, nil
246246
}
247247

248-
func post0132Hash(b *Block, stateDiff *StateDiff) (*felt.Felt, *BlockCommitments, error) {
248+
func Post0132Hash(b *Block, stateDiff *StateDiff) (*felt.Felt, *BlockCommitments, error) {
249249
var txCommitment, eCommitment, rCommitment, sdCommitment *felt.Felt
250250
var sdLength uint64
251251
var tErr, eErr, rErr error

0 commit comments

Comments
 (0)