mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-30 23:26:46 +00:00
return equal
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
solana-test-validator -r \
|
solana-test-validator -r \
|
||||||
# TODO Copy accounts and programs from mainnet
|
# TODO Copy accounts and programs from mainnet
|
||||||
# ORE
|
|
||||||
# Config
|
# Config
|
||||||
# Treasury
|
# Treasury
|
||||||
# Treasury tokens
|
# Treasury tokens
|
||||||
@@ -10,3 +9,6 @@ solana-test-validator -r \
|
|||||||
# Boost config
|
# Boost config
|
||||||
# Meteora program
|
# Meteora program
|
||||||
# Meteora pool and vaults
|
# Meteora pool and vaults
|
||||||
|
|
||||||
|
|
||||||
|
# TODO Deploy ore program
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ pub fn process_payout(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResu
|
|||||||
block.payed_out = 1;
|
block.payed_out = 1;
|
||||||
|
|
||||||
// Skip payout if no bets were placed.
|
// Skip payout if no bets were placed.
|
||||||
if block.total_bets == 0 {
|
if block.total_bets == 0 || block.reward == 0 {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user