[][src]Function ontio_std::runtime::check_witness

pub fn check_witness(addr: &Address) -> bool

Check signature

Example

let input = runtime::input();
let mut source = Source::new(&input);
let addr = source.read().unwrap();
let res = runtime::check_witness(addr);