Skip to content

Commit dc9662b

Browse files
author
Gustavo Chain
committed
Update client's endpoint
1 parent 1ac079b commit dc9662b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
const (
13-
API_URL = "https://mempool.space/api/v1/"
13+
API_URL = "https://mempool.space/api/v1/ws"
1414
)
1515

1616
type MempoolInfo struct {

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
22
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
33
github.com/gchaincl/mempool v0.1.0 h1:31fcPLzbUQ+t9lhghr8mpxugDh28eepuxPbtMQA3xOY=
44
github.com/gchaincl/mempool v0.1.0/go.mod h1:kVwBOFvH0zhHSOcPA0xJr4CoI0HinWC7UVz8ISEeyLo=
5+
github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=
56
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
67
github.com/jroimartin/gocui v0.4.0 h1:52jnalstgmc25FmtGcWqa0tcbMEWS6RpFLsOIO+I+E8=
78
github.com/jroimartin/gocui v0.4.0/go.mod h1:7i7bbj99OgFHzo7kB2zPb8pXLqMBSQegY7azfqXMkyY=

0 commit comments

Comments
 (0)