Skip to content

Commit

Permalink
Fix extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Nov 4, 2024
1 parent 37763bf commit 89fe080
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ do-notation = "0.1.3"
serde_json = "1.0"
sha2 = "0.9.5"
tempfile = "3.13.0"
clvmr = { git = "https://github.com/Chia-Network/clvm_rs", rev = "2f413e72fcf1bcafa4a3117f2c2a0a3a0e7e1c6b", features = ["pre-eval"] }
clvmr = { git = "https://github.com/Chia-Network/clvm_rs", rev = "fe356d69b556f345b818d605a667596620585a85", features = ["pre-eval"] }
binascii = "0.1.4"
yaml-rust2 = "0.9"
hashlink = "0.9.1"
Expand Down
5 changes: 3 additions & 2 deletions src/classic/clvm_tools/stages/stage_2/operators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,10 @@ impl Dialect for CompilerOperatorsInternal {
// The softfork operator comes with an extension argument.
fn softfork_extension(&self, ext: u32) -> OperatorSet {
match ext {
0 => OperatorSet::BLS,
0 => OperatorSet::Default,
1 => OperatorSet::Keccak,
// new extensions go here
_ => OperatorSet::Default,
_ => OperatorSet::Unknown,
}
}

Expand Down

0 comments on commit 89fe080

Please sign in to comment.