Substrate companion for #8163 (#2492)

* Substrate companion for #8163

https://github.com/paritytech/substrate/pull/8163

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2021-02-22 15:52:43 +01:00
committed by GitHub
parent 44519d1d2c
commit 2584c121fb
11 changed files with 277 additions and 238 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ impl Validator {
&self,
keystore: SyncCryptoStorePtr,
payload: Payload,
) -> Result<Signed<Payload, RealPayload>, KeystoreError> {
) -> Result<Option<Signed<Payload, RealPayload>>, KeystoreError> {
Signed::sign(&keystore, payload, &self.signing_context, self.index, &self.key).await
}