Skip to content

Commit

Permalink
Fix withdraw redeem
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz10 committed Sep 4, 2024
1 parent 71ddfb3 commit 8095b08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/infpool_redeem.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var redeemFILCmd = &cobra.Command{
s.Start()
defer s.Stop()

tx, err := PoolsSDK.Act().RampRedeem(cmd.Context(), auth, amount, senderAccount.Address, receiver)
tx, err := PoolsSDK.Act().InfPoolRedeem(cmd.Context(), auth, amount, senderAccount.Address, receiver)
if err != nil {
logFatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/infpool_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var withdrawFILCmd = &cobra.Command{
s.Start()
defer s.Stop()

tx, err := PoolsSDK.Act().RampWithdraw(cmd.Context(), auth, amount, senderAccount.Address, receiver)
tx, err := PoolsSDK.Act().InfPoolWithdraw(cmd.Context(), auth, amount, senderAccount.Address, receiver)
if err != nil {
logFatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/filecoin-project/go-address v1.1.0
github.com/filecoin-project/go-state-types v0.14.0
github.com/filecoin-project/lotus v1.28.1
github.com/glifio/go-pools v1.1.1
github.com/glifio/go-pools v1.1.2
github.com/glifio/go-wallet-utils v0.0.0-20230719050429-ff6c4bc75533
github.com/golang/mock v1.6.0
github.com/ipfs/go-cid v0.4.1
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,8 @@ github.com/gbrlsnchs/jwt/v3 v3.0.1 h1:lbUmgAKpxnClrKloyIwpxm4OuWeDl5wLk52G91ODPw
github.com/gbrlsnchs/jwt/v3 v3.0.1/go.mod h1:AncDcjXz18xetI3A6STfXq2w+LuTx8pQ8bGEwRN8zVM=
github.com/getsentry/sentry-go v0.18.0 h1:MtBW5H9QgdcJabtZcuJG80BMOwaBpkRDZkxRkNC1sN0=
github.com/getsentry/sentry-go v0.18.0/go.mod h1:Kgon4Mby+FJ7ZWHFUAZgVaIa8sxHtnRJRLTXZr51aKQ=
github.com/glifio/go-pools v1.1.0 h1:7tcKe3Ro8nsAzcN516eKbwuKgyrFK57UwElZ8zZ+7F4=
github.com/glifio/go-pools v1.1.0/go.mod h1:G+JltF4457QvLCk8cIMLTHl6L7HgB515Bv8IRgFJJx8=
github.com/glifio/go-pools v1.1.1 h1:mcsc/jegFZgAoSzobN02hivAVIVSJSS96iekOqL98uI=
github.com/glifio/go-pools v1.1.1/go.mod h1:G+JltF4457QvLCk8cIMLTHl6L7HgB515Bv8IRgFJJx8=
github.com/glifio/go-pools v1.1.2 h1:8QOwcDp/FdAbQWISJ1lGOitf03TcI7foH27TawCxlls=
github.com/glifio/go-pools v1.1.2/go.mod h1:G+JltF4457QvLCk8cIMLTHl6L7HgB515Bv8IRgFJJx8=
github.com/glifio/go-wallet-utils v0.0.0-20230719050429-ff6c4bc75533 h1:teuqQtVb7YMyqIOg+xUNO21qZAnm8ibhpKy4lIUBpag=
github.com/glifio/go-wallet-utils v0.0.0-20230719050429-ff6c4bc75533/go.mod h1:zJ9ksxDWIsuS80RtpjaM6swuKZ7OYdJH56I00EZRxD4=
github.com/go-check/check v0.0.0-20180628173108-788fd7840127/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98=
Expand Down

0 comments on commit 8095b08

Please sign in to comment.