Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Updtae constraint (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork authored Jun 2, 2020
1 parent 162486c commit cc7f6bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ impl Filter<Call> for IsCallable {
// Parachains stuff
Call::Parachains(_) | Call::Attestations(_) | Call::Slots(_) | Call::Registrar(_) |
// Balances and Vesting's transfer (which can be used to transfer)
Call::Balances(_) | Call::Vesting(vesting::Call::vested_transfer(..)) =>
Call::Balances(_) | Call::Vesting(vesting::Call::vested_transfer(..)) |
Call::Indices(indices::Call::transfer(..)) =>
false,

// These modules are all allowed to be called by transactions:
Expand Down

0 comments on commit cc7f6bf

Please sign in to comment.