Signer is the interface needed to sign a transaction
| 127 | |
| 128 | // Signer is the interface needed to sign a transaction |
| 129 | type Signer interface { |
| 130 | Sign(msg []byte) ([]byte, error) |
| 131 | Serialize() ([]byte, error) |
| 132 | } |
| 133 | |
| 134 | // CreateSignedTx assembles an Envelope message from proposal, endorsements, |
| 135 | // and a signer. This function should be called by a client when it has |
no outgoing calls
no test coverage detected