fix bug
This commit is contained in:
parent
bc25a3fd37
commit
51ad079bc7
@ -904,12 +904,12 @@ var msigAddProposeCmd = &cli.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, s := range signers {
|
for _, s := range signers {
|
||||||
signerActor, err := api.StateAccountKey(ctx, s, types.EmptyTSK)
|
addrId, err := api.StateLookupID(ctx, addr, types.EmptyTSK)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if signerActor == addr {
|
if s == addrId {
|
||||||
return fmt.Errorf("The add a signer address(%s) is included in the signers", addr.String())
|
return fmt.Errorf("The add a signer address(%s) is included in the signers", addr.String())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user