Skip to content

Commit f895816

Browse files
authored
Merge pull request #105 from blinklabs-io/chore/deps-gouroboros
chore(deps): bump gouroboros to 0.40.1
2 parents 91c252e + a3e3b7c commit f895816

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
github.com/Bitrue-exchange/libada-go v0.0.1-rc.0.20220817020305-79d8b4c4dd9c
7-
github.com/blinklabs-io/gouroboros v0.38.4
7+
github.com/blinklabs-io/gouroboros v0.40.1
88
github.com/fxamacker/cbor/v2 v2.4.0
99
github.com/gin-contrib/zap v0.1.0
1010
github.com/gin-gonic/gin v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
5050
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
5151
github.com/bits-and-blooms/bitset v1.2.0 h1:Kn4yilvwNtMACtf1eYDlG8H77R07mZSPbMjLyS07ChA=
5252
github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
53-
github.com/blinklabs-io/gouroboros v0.38.4 h1:jRWbyPZ9+s4itUmMta33KHafaPB5MLjhY6M51GFq0K4=
54-
github.com/blinklabs-io/gouroboros v0.38.4/go.mod h1:InYtIxaiyXAEZ+fB5Gumy9O6MYY2glfrtCnvihVH3uI=
53+
github.com/blinklabs-io/gouroboros v0.40.1 h1:+aioKYE7o+Ekgo9VLD4IIRXeryP9pUR3IhasDR6+jcM=
54+
github.com/blinklabs-io/gouroboros v0.40.1/go.mod h1:YNHQqwU1yv620T5C+umkDmYf8BgBHlm6QpI9LUQ3Jhw=
5555
github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
5656
github.com/bytedance/sonic v1.8.0 h1:ea0Xadu+sHlu7x5O3gKhRpQ1IKiMrSiHttPF0ybECuA=
5757
github.com/bytedance/sonic v1.8.0/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=

internal/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func handleSubmitTx(c *gin.Context) {
173173
txIdHex := hex.EncodeToString(txIdHash[:])
174174
// Connect to cardano-node and submit TX
175175
errorChan := make(chan error)
176-
oConn, err := ouroboros.New(
176+
oConn, err := ouroboros.NewConnection(
177177
ouroboros.WithNetworkMagic(uint32(cfg.Node.NetworkMagic)),
178178
ouroboros.WithErrorChan(errorChan),
179179
ouroboros.WithNodeToNode(false),

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (c *Config) populateNetworkMagic() error {
124124

125125
func (c *Config) checkNode() error {
126126
// Connect to cardano-node
127-
oConn, err := ouroboros.New(
127+
oConn, err := ouroboros.NewConnection(
128128
ouroboros.WithNetworkMagic(uint32(c.Node.NetworkMagic)),
129129
ouroboros.WithNodeToNode(false),
130130
)

0 commit comments

Comments
 (0)