Skip to content

Commit

Permalink
amend stx native token identification in asset collector.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Oct 14, 2024
1 parent ac0f678 commit 281752d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/assetCollectionService/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/diadata-org/diadata/assetCollectionService
go 1.20

require (
github.com/diadata-org/diadata v1.4.543
github.com/diadata-org/diadata v1.4.544
github.com/sirupsen/logrus v1.9.3
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/dia/service/assetservice/source/bitflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (s *BitflowAssetSource) fetchAssets() {
}

for _, token := range tokens {
if token.Symbol == "STX" {
if token.Symbol == "STX" && token.TokenContract == "null" {
token.TokenContract = "0x0000000000000000000000000000000000000000"
}
s.assetChannel <- dia.Asset{
Expand Down

0 comments on commit 281752d

Please sign in to comment.