Derive Clone for PairSigner (#184)

* Derive `Clone` for `PairSigner`

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* Specify the date of nightly toolchain to fix CI

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen authored and GitHub committed 2020-10-20 10:57:27 +01:00
1 parent fc2da6b9c7
commit 7655caac0f
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ pub trait Signer<T: Runtime> {
}
/// Extrinsic signer using a private key.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct PairSigner<T: Runtime, P: Pair> {
account_id: T::AccountId,
nonce: Option<T::Index>,