Skip to content

Commit

Permalink
chore: add the label for txhash of resp
Browse files Browse the repository at this point in the history
  • Loading branch information
iczc committed Oct 8, 2021
1 parent 8c5040f commit cbc9a0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ on:
branches: [ main ]

jobs:
build:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm run build
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm run build
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (s *Server) handleClaim() http.HandlerFunc {
"txHash": txHash,
"address": address,
}).Info("Funded directly successfully")
fmt.Fprintf(w, txHash.String())
fmt.Fprintf(w, "Txhash: %s", txHash)
}
}

Expand Down

0 comments on commit cbc9a0a

Please sign in to comment.