Rename KeypairUtil to Signer (#8360) (#8366)

automerge
This commit is contained in:
mergify[bot]
2020-02-20 16:30:43 -08:00
committed by GitHub
parent 29cdfd6bc9
commit 02877814fa
107 changed files with 218 additions and 208 deletions

View File

@@ -6,7 +6,7 @@ use crate::{
};
use solana_sdk::{
pubkey::Pubkey,
signature::{KeypairUtil, Signature},
signature::{Signature, Signer},
};
use std::error;
@@ -24,7 +24,7 @@ impl RemoteKeypair {
}
}
impl KeypairUtil for RemoteKeypair {
impl Signer for RemoteKeypair {
fn try_pubkey(&self) -> Result<Pubkey, Box<dyn error::Error>> {
match &self.wallet_type {
RemoteWalletType::Ledger(wallet) => wallet