Repository: nervosnetwork/ckb-system-scripts (language: rust)

Issue:
secp256k1_blake160_sighash_all can exit early if witness data is too large
https://github.com/nervosnetwork/ckb-system-scripts/blob/d2ae4cd4d627cd026f1f3777d5486d6abdcb8d6c/c/secp256k1_blake160_sighash_all.c#L126


Discussion / hints:

Fix patch:
diff --git a/Cargo.lock b/Cargo.lock
index 96bb020..eee71d3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -243,7 +243,7 @@ dependencies = [
 
 [[package]]
 name = "ckb-system-scripts"
-version = "0.1.0"
+version = "0.1.1"
 dependencies = [
  "blake2b-rs 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
  "ckb-core 0.15.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=1d944e26a16039a1647dc30e5f9b36561203bd68)",
diff --git a/Cargo.toml b/Cargo.toml
index 3651645..893c241 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "ckb-system-scripts"
-version = "0.1.0"
+version = "0.1.1"
 authors = ["Nervos Core Dev <dev@nervos.org>"]
 edition = "2018"
 build = "build.rs"


Test patch: