Skip to main content
5 events
when toggle format what by license comment
33 mins ago comment added McBain Rent::from_bytes is for when you got the rent sysvar data via some other means and want to convert it to a Rent struct. To calculate rent for foreign accounts it's always with the byte length like I showed in my answer.
9 hours ago comment added Russo is Rent::from_bytes(account.borrow_unchecked()) used for existing accounts?
10 hours ago vote accept Russo
10 hours ago comment added Russo rent_account_sysvar's address is SysvarRent111111111111111111111111111111111 Thank you
17 hours ago history answered McBain CC BY-SA 4.0