Created
February 2, 2022 03:22
-
-
Save 1Firsts/5c10d10b65962f130f60554b85511e3a to your computer and use it in GitHub Desktop.
Amount left to be collected, using msg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mut campaign_account_data = CampaignAccount::try_from_slice(&campaign_account.data.borrow())?; | |
msg!("{}",campaign_account_data.campaign_amount - campaign_account_data.campaign_fulfilled); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment