Skip to content

Commit

Permalink
deps: update core and coreutils
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Oct 26, 2024
1 parent e15ac1f commit 9a3ee1c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.23.1
toolchain go1.23.2

require (
go.sia.tech/core v0.4.8-0.20240928202806-0e77790bd8bf
go.sia.tech/coreutils v0.4.2-0.20241017012544-0b4946403c93
go.sia.tech/core v0.5.0
go.sia.tech/coreutils v0.5.0
go.sia.tech/hostd v1.1.3-0.20241022083902-7d61fc09be7c
go.sia.tech/jape v0.12.1
go.sia.tech/renterd v1.1.0-beta.4.0.20241025151653-2b933326be16
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0=
go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I=
go.sia.tech/core v0.4.8-0.20240928202806-0e77790bd8bf h1:x/lM7Y8Rlo12rcpPXapLvSVNyrHZEKO6j4eLNccPMKw=
go.sia.tech/core v0.4.8-0.20240928202806-0e77790bd8bf/go.mod h1:j2Ke8ihV8or7d2VDrFZWcCkwSVHO0DNMQJAGs9Qop2M=
go.sia.tech/coreutils v0.4.2-0.20241017012544-0b4946403c93 h1:38XTWxsDR4Q8ILQHFFSoB906jRrcb1UBaWg5d8MBt9M=
go.sia.tech/coreutils v0.4.2-0.20241017012544-0b4946403c93/go.mod h1:JIaR+zdGZsqPLBM5mVsnwWJ7hBsES+SAEDQg5EFBitM=
go.sia.tech/core v0.5.0 h1:feLC7DSCF+PhU157s/94106hFKyiGrGQ9HC3/dF/l7E=
go.sia.tech/core v0.5.0/go.mod h1:P3C1BWa/7J4XgdzWuaYHBvLo2RzZ0UBaJM4TG1GWB2g=
go.sia.tech/coreutils v0.5.0 h1:/xKxdw83iZy0jjLzI2NGHyG4azyjK5DJscxpkr6nIGQ=
go.sia.tech/coreutils v0.5.0/go.mod h1:VYM4FcmlhVrpDGvglLHjRW+gitoaxPNLvp5mL2quilo=
go.sia.tech/gofakes3 v0.0.5 h1:vFhVBUFbKE9ZplvLE2w4TQxFMQyF8qvgxV4TaTph+Vw=
go.sia.tech/gofakes3 v0.0.5/go.mod h1:LXEzwGw+OHysWLmagleCttX93cJZlT9rBu/icOZjQ54=
go.sia.tech/hostd v1.1.3-0.20241022083902-7d61fc09be7c h1:oGRzqksT2MFoS4SvkrGbUG1LXNbnmv2KBzzv8uf0R4E=
Expand Down
2 changes: 1 addition & 1 deletion nodes/hostd.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (m *Manager) StartHostd(ctx context.Context, sk types.PrivateKey, ready cha

// mine blocks to fund the wallet
walletAddress := types.StandardUnlockHash(sk.PublicKey())
if err := m.MineBlocks(ctx, int(network.GenesisState().MaturityHeight())+20, walletAddress); err != nil { // TODO: hack until network.MaturityDelay is available
if err := m.MineBlocks(ctx, int(network.MaturityDelay)+20, walletAddress); err != nil {
return fmt.Errorf("failed to mine blocks: %w", err)
}

Expand Down
2 changes: 1 addition & 1 deletion nodes/renterd.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func (m *Manager) StartRenterd(ctx context.Context, sk types.PrivateKey, ready c

// mine blocks to fund the wallet
walletAddress := types.StandardUnlockHash(pk)
if err := m.MineBlocks(ctx, int(network.GenesisState().MaturityHeight())+20, walletAddress); err != nil { // TODO: hack until network.MaturityDelay is available
if err := m.MineBlocks(ctx, int(network.MaturityDelay)+20, walletAddress); err != nil {
return fmt.Errorf("failed to mine blocks: %w", err)
}

Expand Down

0 comments on commit 9a3ee1c

Please sign in to comment.