update multihash prefix #55
@ -23,7 +23,7 @@ import (
|
|||||||
"github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper"
|
"github.com/vulcanize/ipld-ethcl-indexer/pkg/loghelper"
|
||||||
)
|
)
|
||||||
|
|
||||||
const SSZ_SHA2_256_PREFIX uint64 = 0xb501
|
const SSZ_SHA2_256_PREFIX uint64 = 0xb502
|
||||||
|
|
||||||
// MultihashKeyFromSSZRoot converts a SSZ-SHA2-256 root hash into a blockstore prefixed multihash key
|
// MultihashKeyFromSSZRoot converts a SSZ-SHA2-256 root hash into a blockstore prefixed multihash key
|
||||||
func MultihashKeyFromSSZRoot(root []byte) (string, error) {
|
func MultihashKeyFromSSZRoot(root []byte) (string, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user