Update client's endpoint

This commit is contained in:
Gustavo Chain 2021-01-22 13:21:33 +01:00
parent 1ac079b082
commit 131e0c47df
No known key found for this signature in database
GPG Key ID: DA7C1746DC118A46
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
)
const (
API_URL = "https://mempool.space/api/v1/"
API_URL = "https://mempool.space/api/v1/ws"
)
type MempoolInfo struct {

1
go.sum
View File

@ -2,6 +2,7 @@ github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
github.com/gchaincl/mempool v0.1.0 h1:31fcPLzbUQ+t9lhghr8mpxugDh28eepuxPbtMQA3xOY=
github.com/gchaincl/mempool v0.1.0/go.mod h1:kVwBOFvH0zhHSOcPA0xJr4CoI0HinWC7UVz8ISEeyLo=
github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/jroimartin/gocui v0.4.0 h1:52jnalstgmc25FmtGcWqa0tcbMEWS6RpFLsOIO+I+E8=
github.com/jroimartin/gocui v0.4.0/go.mod h1:7i7bbj99OgFHzo7kB2zPb8pXLqMBSQegY7azfqXMkyY=