func (jd *Judge) AppendSignature(ev *wire.Envelope) { ev.Signatures = append(ev.Signatures, [][]byte{ed25519.Sign(sliceTo64Byte(jd.Privkey), ev.Payload)[:]}...) }
func (acct *Account) AppendSignature(ev *wire.Envelope) { ev.Signatures = append(ev.Signatures, [][]byte{ed25519.Sign(sliceTo64Byte(acct.Privkey), ev.Payload)[:]}...) }