mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-22 23:16:46 +00:00
new macros
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use bytemuck::{Pod, Zeroable};
|
||||
use ore_utils::{impl_account_from_bytes, impl_to_bytes, Discriminator};
|
||||
use ore_utils::{account, Discriminator};
|
||||
|
||||
use super::AccountDiscriminator;
|
||||
|
||||
@@ -26,5 +26,4 @@ impl Discriminator for Config {
|
||||
}
|
||||
}
|
||||
|
||||
impl_to_bytes!(Config);
|
||||
impl_account_from_bytes!(Config);
|
||||
account!(Config);
|
||||
|
||||
Reference in New Issue
Block a user