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
2020-10-20 17:57:27 +08:00
committed by GitHub
parent fc2da6b9c7
commit 7655caac0f
2 changed files with 6 additions and 6 deletions
+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>,