(signature: &Signature)
| 185 | } |
| 186 | |
| 187 | fn encode_proof_value(signature: &Signature) -> String { |
| 188 | let mut s = String::new(); |
| 189 | s.push(MULTIBASE_BASE58_BTC); |
| 190 | s.push_str(&bs58::encode(signature.as_bytes()).into_string()); |
| 191 | s |
| 192 | } |
| 193 | |
| 194 | fn decode_proof_value(value: &str) -> Result<Signature> { |
| 195 | let mut chars = value.chars(); |
no test coverage detected