mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
bridges: fix random_seed (#797)
Co-authored-by: André Silva <andrerfosilva@gmail.com>
This commit is contained in:
committed by
Bastian Köcher
parent
56354c7d1a
commit
afb48a547e
@@ -459,7 +459,7 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn random_seed() -> <Block as BlockT>::Hash {
|
fn random_seed() -> <Block as BlockT>::Hash {
|
||||||
RandomnessCollectiveFlip::random_seed()
|
RandomnessCollectiveFlip::random_seed().0.into()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ impl_runtime_apis! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn random_seed() -> <Block as BlockT>::Hash {
|
fn random_seed() -> <Block as BlockT>::Hash {
|
||||||
RandomnessCollectiveFlip::random_seed()
|
RandomnessCollectiveFlip::random_seed().0.into()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user