Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix: change name of query param in query_tx method (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
wregulski authored Jan 4, 2024
1 parent 079ae42 commit 0a7b380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/query_transaction/query_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func main() {
logger := zerolog.Nop()
token := ""
apiURL := "https://arc.gorillapool.io"
hex := "469dd0f63fe4b3fe972dc72d28057e931abd69d8dfc85bf6e623efa41d50ef73"
txID := "469dd0f63fe4b3fe972dc72d28057e931abd69d8dfc85bf6e623efa41d50ef73"

cfg := broadcast_client.ArcClientConfig{
Token: token,
Expand All @@ -26,7 +26,7 @@ func main() {
WithArc(cfg, &logger).
Build()

result, err := client.QueryTransaction(context.Background(), hex)
result, err := client.QueryTransaction(context.Background(), txID)
if err != nil {
log.Fatalf("error: %s", err.Error())
}
Expand Down

0 comments on commit 0a7b380

Please sign in to comment.