Revert "Update schnorrkel to 0.7.0 (#3261)" (#3264)

This reverts commit a5fa1ddd99.
This commit is contained in:
Tomasz Drwięga
2019-07-31 00:19:32 +02:00
committed by GitHub
parent a5fa1ddd99
commit 04c115a6e9
9 changed files with 41 additions and 46 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ futures01 = { package = "futures", version = "0.1" }
futures-timer = "0.2.1"
parking_lot = "0.8.0"
log = "0.4.6"
schnorrkel = "0.7.0"
schnorrkel = "0.1.1"
rand = "0.6.5"
merlin = "1.0.3"
@@ -12,7 +12,7 @@ sr-primitives = { path = "../../../sr-primitives", default-features = false }
primitives = { package = "substrate-primitives", path = "../../../primitives", default-features = false }
slots = { package = "substrate-consensus-slots", path = "../../slots", optional = true }
parity-codec = { version = "4.1.1", default-features = false }
schnorrkel = { version = "0.7.0", optional = true }
schnorrkel = { version = "0.1.1", optional = true }
[features]
default = ["std"]
+1 -1
View File
@@ -837,7 +837,7 @@ fn claim_slot(
let threshold = calculate_threshold(c, authorities, authority_index);
get_keypair(key)
.vrf_sign_after_check(transcript, |inout| check(inout, threshold))
.vrf_sign_n_check(transcript, |inout| check(inout, threshold))
.map(|s|(s, authority_index))
}