Skip to content

Commit

Permalink
[pipeline] adding a comment to init code
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Jun 10, 2024
1 parent 9f893f5 commit e4a062e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settlement-pipelines/src/bin/init_settlement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ async fn init_settlements(

for settlement_record in settlement_records {
if settlement_record.bond_account.is_none() {
// this is correct for Marinade funder as the existence of the Bond is required for any init Settlement
reporting.add_error_string(format!(
"Cannot find bond account {} for vote account {}, funder {}, claim amount {} SOLs",
settlement_record.bond_address,
Expand Down

0 comments on commit e4a062e

Please sign in to comment.