Skip to content

Commit 71b106f

Browse files
committed
fix type nonfungibile
1 parent 98c500b commit 71b106f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

common/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub enum ProxyType {
147147
NonCritical,
148148
NonTransfer,
149149
Senate,
150-
NonFungibile, // Nothing involving moving TAO
150+
NonFungible, // Nothing involving moving TAO
151151
Triumvirate,
152152
Governance, // Both above governance
153153
Staking,

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
688688
)
689689
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::swap_coldkey { .. })
690690
),
691-
ProxyType::NonFungibile => !matches!(
691+
ProxyType::NonFungible => !matches!(
692692
c,
693693
RuntimeCall::Balances(..)
694694
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::add_stake { .. })

runtime/tests/pallet_proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn test_proxy_pallet() {
206206
ProxyType::NonCritical,
207207
ProxyType::NonTransfer,
208208
ProxyType::Senate,
209-
ProxyType::NonFungibile,
209+
ProxyType::NonFungible,
210210
ProxyType::Triumvirate,
211211
ProxyType::Governance,
212212
ProxyType::Staking,

0 commit comments

Comments
 (0)