Skip to content

Commit

Permalink
amend tbs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Aug 2, 2023
1 parent 651ac2a commit a9621e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/genericCollector/Dockerfile-zenlink
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ RUN go mod tidy -go=1.16 && go mod tidy -go=1.17 && go install
FROM node:lts

COPY ./scripts/bifrost/package.json ./
COPY ./scripts/bifrost/yarn.lock ./

RUN yarn install

COPY ./scripts/bifrost/main.js /usr/src/app/main.js
COPY ./scripts/bifrost/zenlink-bifrost-polkadot.js /usr/src/app/zenlink-bifrost-polkadot.js
COPY --from=build /go/bin/zenlink /bin/zenlink
COPY --from=build /config/ /config/

Expand Down
2 changes: 1 addition & 1 deletion cmd/services/tradesBlockService/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/diadata-org/diadata/services/tradesBlockService
go 1.17

require (
github.com/diadata-org/diadata v1.4.317
github.com/diadata-org/diadata v1.4.319
github.com/segmentio/kafka-go v0.4.35
github.com/sirupsen/logrus v1.8.1
)
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/tradesBlockService/tradesBlockService.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ func buildBridge(t dia.Trade) dia.Asset {
if basetoken.Blockchain == dia.BIFROST_POLKADOT && t.Source == dia.ZenlinkswapExchangeBifrostPolkadot {
if basetoken.Address == "2048" {
basetoken = dia.Asset{
Symbol: "KSM",
Symbol: "DOT",
Address: "0x0000000000000000000000000000000000000000",
Blockchain: dia.KUSAMA,
Blockchain: dia.POLKADOT,
}
}
}
Expand Down

0 comments on commit a9621e8

Please sign in to comment.