Skip to content

Commit

Permalink
Permit pay-to-self in CLI
Browse files Browse the repository at this point in the history
No test here because we're just removing an [untested] special case.

Fixes solana-labs#10339
  • Loading branch information
garious committed May 30, 2020
1 parent 7c4b6de commit 2bc3d2d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1530,11 +1530,6 @@ fn process_transfer(
) -> ProcessResult {
let from = config.signers[from];

check_unique_pubkeys(
(&from.pubkey(), "cli keypair".to_string()),
(to, "to".to_string()),
)?;

let (recent_blockhash, fee_calculator) =
blockhash_query.get_blockhash_and_fee_calculator(rpc_client)?;

Expand Down

0 comments on commit 2bc3d2d

Please sign in to comment.