(n *native.NativeService, id string, index uint64, addr common.Address)
| 392 | } |
| 393 | |
| 394 | func rmCtrl(n *native.NativeService, id string, index uint64, addr common.Address) error { |
| 395 | sink := common.NewZeroCopySink(nil) |
| 396 | sink.WriteString(id) |
| 397 | // signing key index |
| 398 | utils.EncodeVarUint(sink, index) |
| 399 | n.Input = sink.Bytes() |
| 400 | // set signing address |
| 401 | n.Tx.SignedAddr = []common.Address{addr} |
| 402 | _, err := removeController(n) |
| 403 | return err |
| 404 | } |
| 405 | |
| 406 | func regGroupControlledID(n *native.NativeService, id string, g *Group, s []Signer, addr []common.Address) error { |
| 407 | sink := common.NewZeroCopySink(nil) |
no test coverage detected