Skip to content

Commit

Permalink
chore(deps): update blinklabs-io/adder to v0.24.3 (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
agaffney authored Oct 21, 2024
1 parent 0165b56 commit c1babdf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ require (
connectrpc.com/connect v1.17.0
connectrpc.com/grpchealth v1.3.0
connectrpc.com/grpcreflect v1.2.0
github.com/blinklabs-io/adder v0.24.2
github.com/blinklabs-io/gouroboros v0.100.0
github.com/blinklabs-io/tx-submit-api v0.19.0
github.com/blinklabs-io/adder v0.24.3
github.com/blinklabs-io/gouroboros v0.101.0
github.com/blinklabs-io/tx-submit-api v0.20.1
github.com/gin-contrib/zap v1.1.4
github.com/gin-gonic/gin v1.10.0
github.com/gorilla/websocket v1.5.3
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r
github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
github.com/bits-and-blooms/bitset v1.8.0 h1:FD+XqgOZDUxxZ8hzoBFuV9+cGWY9CslN6d5MS5JVb4c=
github.com/bits-and-blooms/bitset v1.8.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/blinklabs-io/adder v0.24.2 h1:42+/o4qO/nI7ddOZYQQdJQ8lUYS2eJwJCXu/vDvMJzM=
github.com/blinklabs-io/adder v0.24.2/go.mod h1:eQfbVGMxbfPg5B1PhKNh21bTehXjjBLevppGwdkcxQg=
github.com/blinklabs-io/gouroboros v0.100.0 h1:f1M0AA+Zi4YC4sbR0gJBOaMyKTClRTNY894r4Lm7TDk=
github.com/blinklabs-io/gouroboros v0.100.0/go.mod h1:otpDPTJTU/EVt3J4axaJAA1gF/0UtalSdVxVqXK8Zuk=
github.com/blinklabs-io/adder v0.24.3 h1:JAAmr9NhXi9HyEdSUk3hHtjiGF1vzir5lDRF9d9WSgI=
github.com/blinklabs-io/adder v0.24.3/go.mod h1:hXSQK+bTBjQnGoR5WXYCSH4IghdSCTwH3oncguAaNqU=
github.com/blinklabs-io/gouroboros v0.101.0 h1:+5+C76cgyWNlFInp2HQpaGpiUSVt6bH/fUSDSo3VEaw=
github.com/blinklabs-io/gouroboros v0.101.0/go.mod h1:otpDPTJTU/EVt3J4axaJAA1gF/0UtalSdVxVqXK8Zuk=
github.com/blinklabs-io/ouroboros-mock v0.3.4 h1:codPfiI5vLeD6YdhKL5VwYSzy2N3Dsgx6xjcLsqFaJQ=
github.com/blinklabs-io/ouroboros-mock v0.3.4/go.mod h1:e/wgG1ZYVenroN2XEMXy7DgEfdmP7KXVRHIQKuh8E/0=
github.com/blinklabs-io/tx-submit-api v0.19.0 h1:F1XVL+qbpZfdsZ303neHc8lKos9wGec+NjzpCoKx0Yc=
github.com/blinklabs-io/tx-submit-api v0.19.0/go.mod h1:NbYSFEiOR7UtipEeZZrr9UY5og5KCw+VCLr3hFgrbJY=
github.com/blinklabs-io/tx-submit-api v0.20.1 h1:IdMqh12CSwPY44HqE9s8AbMlMZ+dhNAZSzXDReE+sSo=
github.com/blinklabs-io/tx-submit-api v0.20.1/go.mod h1:xvXm1lnhL6DfsXyn5c/58wppPclAA8nV+nQuAZJ8PXw=
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
github.com/bytedance/sonic v1.12.1 h1:jWl5Qz1fy7X1ioY74WqO0KjAMtAGQs4sYnjiEBiyX24=
Expand Down
6 changes: 3 additions & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"os"

"github.com/blinklabs-io/gouroboros"
ouroboros "github.com/blinklabs-io/gouroboros"
"github.com/kelseyhightower/envconfig"
"gopkg.in/yaml.v2"
)
Expand Down Expand Up @@ -124,8 +124,8 @@ func Load(configFile string) (*Config, error) {
}
// Populate network magic value from network name
if globalConfig.Node.Network != "" {
network := ouroboros.NetworkByName(globalConfig.Node.Network)
if network == ouroboros.NetworkInvalid {
network, ok := ouroboros.NetworkByName(globalConfig.Node.Network)
if !ok {
return nil, fmt.Errorf(
"unknown network: %s",
globalConfig.Node.Network,
Expand Down

0 comments on commit c1babdf

Please sign in to comment.