add rent reserve for bootstrap stakes (#6876)

* genesis investor stakes

* assert rent is sufficient for these bootstrappers
This commit is contained in:
Rob Walker
2019-11-12 12:33:40 -08:00
committed by GitHub
parent 73e3fc7c4f
commit bb00904fc8
6 changed files with 43 additions and 24 deletions

View File

@ -59,6 +59,13 @@ impl Rent {
)
}
}
pub fn free() -> Self {
Self {
lamports_per_byte_year: 0,
..Rent::default()
}
}
}
#[cfg(test)]