Skip to content

Commit

Permalink
Change to Mint event on install_contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Levike34 authored Jan 29, 2024
1 parent 4900c3d commit e762da9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cep18/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@ pub extern "C" fn init() {
);
}
}
events::record_event_dictionary(Event::Transfer(Transfer {
sender: caller.into(),
events::record_event_dictionary(Event::Mint(Mint {
recipient: caller.into(),
amount: initial_supply,
}))
Expand Down

0 comments on commit e762da9

Please sign in to comment.