Add lockups via solana-tokens (#11782)

* Allow stake distributions to update lockups

* Reorg

* Add lockup test

* Fix clippy warning
This commit is contained in:
Greg Fitzgerald
2020-08-24 15:18:35 -06:00
committed by GitHub
parent c2e5dae7ba
commit 5553732ae2
7 changed files with 244 additions and 59 deletions

View File

@@ -27,10 +27,7 @@ fn main() -> Result<(), Box<dyn Error>> {
match command_args.command {
Command::DistributeTokens(args) => {
runtime.block_on(commands::process_distribute_tokens(
&mut banks_client,
&args,
))?;
runtime.block_on(commands::process_allocations(&mut banks_client, &args))?;
}
Command::Balances(args) => {
runtime.block_on(commands::process_balances(&mut banks_client, &args))?;