(signature: &Signature)
| 283 | } |
| 284 | |
| 285 | fn encode_proof_value(signature: &Signature) -> String { |
| 286 | let mut s = String::new(); |
| 287 | s.push(MULTIBASE_BASE58_BTC); |
| 288 | s.push_str(&bs58::encode(signature.as_bytes()).into_string()); |
| 289 | s |
| 290 | } |
| 291 | |
| 292 | fn decode_proof_value(value: &str) -> Result<Signature> { |
| 293 | let mut chars = value.chars(); |
no test coverage detected