Skip to content

Commit

Permalink
provide polkadot chain iter
Browse files Browse the repository at this point in the history
  • Loading branch information
Aton committed Jan 25, 2019
1 parent 87a9c99 commit 4aa2011
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion xrml/xassets/assets/src/assetdef.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Default for Chain {

impl Chain {
pub fn iterator() -> Iter<'static, Chain> {
static CHAINS: [Chain; 3] = [Chain::ChainX, Chain::Bitcoin, Chain::Ethereum];
static CHAINS: [Chain; 4] = [Chain::ChainX, Chain::Bitcoin, Chain::Ethereum, Chain::Polkadot];
CHAINS.iter()
}
}
Expand Down

0 comments on commit 4aa2011

Please sign in to comment.