Fix cli program deploys by avoiding zero account balance (#7497)
This commit is contained in:
parent
7ad64c8d45
commit
862e7a410d
|
@ -801,7 +801,7 @@ fn process_deploy(
|
||||||
&config.keypair,
|
&config.keypair,
|
||||||
&program_id,
|
&program_id,
|
||||||
blockhash,
|
blockhash,
|
||||||
minimum_balance,
|
minimum_balance.max(1),
|
||||||
program_data.len() as u64,
|
program_data.len() as u64,
|
||||||
&bpf_loader::id(),
|
&bpf_loader::id(),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue