Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Dec 31, 2024
1 parent 2fd4faf commit d70e847
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/stakepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ var spUnlock = &cobra.Command{
}
}

unlocked, _, err := sdk.StakePoolUnlock(providerType, providerID, zcncore.ConvertToValue(fee))
unlocked, _, err := sdk.StakePoolUnlock(providerType, providerID, clientWallet.ClientID, zcncore.ConvertToValue(fee))
if err != nil {
log.Fatalf("Failed to unlock tokens in stake pool: %v", err)
}
Expand Down
3 changes: 3 additions & 0 deletions cmd/updateallocation.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ var updateAllocationCmd = &cobra.Command{
"",
setThirdPartyExtendable,
&fileOptionParams,
"",
statusBar,
); err != nil {
allocUnderRepair = false
Expand All @@ -160,8 +161,10 @@ var updateAllocationCmd = &cobra.Command{
addBlobberAuthTicket,
removeBlobberId,
"",
"",
setThirdPartyExtendable,
&fileOptionParams,
"",
)
if err != nil {
log.Fatal("Error updating allocation:", err)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.5

require (
github.com/0chain/errors v1.0.3
github.com/0chain/gosdk v1.18.15
github.com/0chain/gosdk v1.18.16
github.com/icza/bitio v1.1.0
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ github.com/0chain/common v1.18.3 h1:42dYOv2KyMTSanuS67iDtfv+ErbSRqR8NJ3MG72MwaI=
github.com/0chain/common v1.18.3/go.mod h1:Lapu2Tj7z5Sm4r+X141e7vsz4NDODTEypeElYAP3iSw=
github.com/0chain/errors v1.0.3 h1:QQZPFxTfnMcRdt32DXbzRQIfGWmBsKoEdszKQDb0rRM=
github.com/0chain/errors v1.0.3/go.mod h1:xymD6nVgrbgttWwkpSCfLLEJbFO6iHGQwk/yeSuYkIc=
github.com/0chain/gosdk v1.18.15 h1:jujBBRAv2xendebjdoC6nMmoVl5w+uhDrKBqokIvxKI=
github.com/0chain/gosdk v1.18.15/go.mod h1:8unFy9Dx2YyPKMYPDGR3MFhUEymbAfQcRDm9bobVLGw=
github.com/0chain/gosdk v1.18.16 h1:QpApoYGc7jbTxnSTi1AmyRHSvhFpkaPs3yWghhLj9rU=
github.com/0chain/gosdk v1.18.16/go.mod h1:8unFy9Dx2YyPKMYPDGR3MFhUEymbAfQcRDm9bobVLGw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ=
Expand Down

0 comments on commit d70e847

Please sign in to comment.