chainline-contracts / chainline.contracts / HubContract / travel_getStorageKey

travel_getStorageKey

private fun Hash160.travel_getStorageKey(): ByteArray (source)

Gets the storage key for a Travel, which is essentially just the city pair hash with a suffix. This is called on the city pair hash.

Return
the storage key (city pair hash + 1 byte suffix)