Function fil_actor_miner_state::v9::util::sector_key
source ยท pub fn sector_key(sector: SectorNumber) -> Result<BytesKey>
Expand description
Converts sector number to hamt key Go version: https://github.com/filecoin-project/go-state-types/blob/master/builtin/v9/miner/miner_state.go#L319
This function is needed for nv17 state migration, see https://github.com/filecoin-project/go-state-types/blob/master/builtin/v9/migration/miner.go#L225