mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
This reverts commit a5fa1ddd99.
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user