From 2b858cb89f35822b0ecf05b6f4f2c349f0ed50a7 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Sat, 30 May 2020 08:03:41 -0600 Subject: [PATCH] Permit pay-to-self in CLI No test here because we're just removing an [untested] special case. Fixes #10339 --- cli/src/cli.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cli/src/cli.rs b/cli/src/cli.rs index e1847cabace9aa..307e4993c15753 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -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)?;