make ledger sign work
This commit is contained in:
parent
aaa376c5e4
commit
de0726fcb0
@ -474,7 +474,7 @@ var verifRegRemoveVerifiedClientDataCapCmd = &cli.Command{
|
|||||||
|
|
||||||
st, err := multisig.Load(store, vrkState)
|
st, err := multisig.Load(store, vrkState)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return fmt.Errorf("load vrk failed: %w ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
signers, err := st.Signers()
|
signers, err := st.Signers()
|
||||||
@ -508,14 +508,13 @@ var verifRegRemoveVerifiedClientDataCapCmd = &cli.Command{
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
sm, _, err := srv.PublishMessage(ctx, proto, false)
|
sm, err := lcli.InteractiveSend(ctx, cctx, srv, proto)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
msgCid := sm.Cid()
|
msgCid := sm.Cid()
|
||||||
|
fmt.Println("sending msg: ", msgCid)
|
||||||
fmt.Printf("message sent, now waiting on cid: %s\n", msgCid)
|
|
||||||
|
|
||||||
mwait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
|
mwait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user