Commit 04a75430 authored by protolambda's avatar protolambda Committed by GitHub

op-program: fix local key type enum value

Co-authored-by: default avatarAdrian Sutton <adrian@oplabs.co>
parent ceafc32e
...@@ -32,7 +32,7 @@ const ( ...@@ -32,7 +32,7 @@ const (
// The zero key type is illegal to use, ensuring all keys are non-zero. // The zero key type is illegal to use, ensuring all keys are non-zero.
_ KeyType = 0 _ KeyType = 0
// LocalKeyType is for input-type pre-images, specific to the local program instance. // LocalKeyType is for input-type pre-images, specific to the local program instance.
LocalKeyType KeyType = 0 LocalKeyType KeyType = 1
// Keccak25Key6Type is for keccak256 pre-images, for any global shared pre-images. // Keccak25Key6Type is for keccak256 pre-images, for any global shared pre-images.
Keccak25Key6Type KeyType = 2 Keccak25Key6Type KeyType = 2
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment