X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=wallet%2Findexer.go;h=f107aeceb04e9e34c09649e24e343d2c27999901;hp=0cf4a3263f1cdae77d96b12a8efbabf401253897;hb=c8f5610a18a7f86af127e6cd912ff691285674a4;hpb=c2925d029543cdaee6e48e684397d21d3d05df9f diff --git a/wallet/indexer.go b/wallet/indexer.go index 0cf4a326..f107aece 100644 --- a/wallet/indexer.go +++ b/wallet/indexer.go @@ -34,6 +34,9 @@ func saveExternalAssetDefinition(b *types.Block, store WalletStore) error { for _, tx := range b.Transactions { for _, orig := range tx.Inputs { if cci, ok := orig.TypedInput.(*types.CrossChainInput); ok { + if cci.AssetId.String() == consensus.BTMAssetID.String() { + continue + } assetID := cci.AssetId if _, err := newStore.GetAsset(assetID); err == nil { continue