OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faaf709
)
fix https://github.com/Bytom/vapor/pull/488#discussion_r379226522
author
HAOYUatHZ
<haoyu@protonmail.com>
Fri, 14 Feb 2020 07:35:52 +0000
(15:35 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Fri, 14 Feb 2020 07:35:52 +0000
(15:35 +0800)
config/federation.go
patch
|
blob
|
history
diff --git
a/config/federation.go
b/config/federation.go
index
31024ba
..
4bea973
100644
(file)
--- a/
config/federation.go
+++ b/
config/federation.go
@@
-54,12
+54,5
@@
func (f *FederationAssetFilter) IsDust(tx *types.Tx) bool {
}
}
- for _, output := range tx.Outputs {
- assetID := output.AssetAmount().AssetId
- if _, ok := f.whitelist[assetID.String()]; !ok {
- return true
- }
- }
-
return false
}