mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 04:35:04 +00:00
Remove PalletInfo impl for () (#8090)
This commit is contained in:
1 parent
9fbbecc195
commit
ef6615ba65
1 file changed
-5
@@ -1459,11 +1459,6 @@ pub trait PalletInfo {
|
||||
fn name<P: 'static>() -> Option<&'static str>;
|
||||
}
|
||||
|
||||
impl PalletInfo for () {
|
||||
fn index<P: 'static>() -> Option<usize> { Some(0) }
|
||||
fn name<P: 'static>() -> Option<&'static str> { Some("test") }
|
||||
}
|
||||
|
||||
/// The function and pallet name of the Call.
|
||||
#[derive(Clone, Eq, PartialEq, Default, RuntimeDebug)]
|
||||
pub struct CallMetadata {
|
||||
|
||||
Reference in new issue
Block a user