Merge pull request #10880 from filecoin-project/jen/makedeephappy

fix: shed remove datacap not working with ledger
This commit is contained in:
Łukasz Magiera 2023-05-18 16:10:17 +02:00 committed by GitHub
commit 6ced5e2944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -474,7 +474,7 @@ var verifRegRemoveVerifiedClientDataCapCmd = &cli.Command{
st, err := multisig.Load(store, vrkState)
if err != nil {
return err
return fmt.Errorf("load vrk failed: %w ", err)
}
signers, err := st.Signers()
@ -508,14 +508,13 @@ var verifRegRemoveVerifiedClientDataCapCmd = &cli.Command{
return err
}
sm, _, err := srv.PublishMessage(ctx, proto, false)
sm, err := lcli.InteractiveSend(ctx, cctx, srv, proto)
if err != nil {
return err
}
msgCid := sm.Cid()
fmt.Printf("message sent, now waiting on cid: %s\n", msgCid)
fmt.Println("sending msg: ", msgCid)
mwait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
if err != nil {