2470b45468
* Add new StakeError variant * Add closure to return error if EpochRewards::active * Use error_during_epoch_rewards for Instructions that mutate stake accounts * Use try instead of manually matching Ok/Err * Consolidate error_during_epoch_rewards check * Add new test helper * Add test demonstrating which ix return StakeError::EpochRewardsActive * Remove single-use fn |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
build.rs |