(preimage: &[u8])
| 809 | } |
| 810 | |
| 811 | pub fn payment_hash(preimage: &[u8]) -> sha256::Hash { |
| 812 | sha256::Hash::hash(preimage) |
| 813 | } |
| 814 | |
| 815 | fn continue_ok() -> Result<serde_json::Value, anyhow::Error> { |
| 816 | Ok(serde_json::json!({"result": "continue"})) |
no test coverage detected