Created
February 2, 2022 03:16
-
-
Save 1Firsts/6886804f4fa0c4e448a84db2340fef3b to your computer and use it in GitHub Desktop.
The rest of the bytes will be the string that describes this campaign.
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())?; | |
campaign_account_data.campaign_amount = amount; | |
campaign_account_data.campaign_description = description; | |
campaign_account_data.campaign_fulfilled = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment