Function bitcoin_signingprovider::get_descriptor_checksum
source · pub fn get_descriptor_checksum(descriptor: &String) -> String
Expand description
| Get the checksum for a descriptor
.
|
| - If it already has one, and it is correct,
| return the checksum in the input.
|
| - If it already has one that is wrong,
| return “”.
|
| - If it does not already have one, return
| the checksum that would need to be added.
|