Fixup sign_transaction; pass derivation_path by reference (#8194) (#8217)

automerge
This commit is contained in:
mergify[bot]
2020-02-11 12:38:31 -08:00
committed by GitHub
parent 34238d5f1e
commit 70089a5258
5 changed files with 48 additions and 123 deletions

View File

@@ -478,7 +478,7 @@ impl CliConfig {
derivation_path = derivation;
}
let ledger = get_ledger_from_info(remote_wallet_info)?;
return Ok(ledger.get_pubkey(derivation_path)?);
return Ok(ledger.get_pubkey(&derivation_path)?);
}
}
Ok(self.keypair.pubkey())