(signature: &Signature)
| 236 | } |
| 237 | |
| 238 | fn encode_proof_value(signature: &Signature) -> String { |
| 239 | let mut s = String::new(); |
| 240 | s.push(MULTIBASE_BASE58_BTC); |
| 241 | s.push_str(&bs58::encode(signature.as_bytes()).into_string()); |
| 242 | s |
| 243 | } |
| 244 | |
| 245 | fn decode_proof_value(value: &str) -> Result<Signature> { |
| 246 | let mut chars = value.chars(); |
no test coverage detected