sdk: add is_interactive()
method Signer
trait
This commit is contained in:
committed by
mergify[bot]
parent
d5c2c72360
commit
2af5ec4f57
@ -2450,6 +2450,10 @@ mod tests {
|
||||
fn try_sign_message(&self, _message: &[u8]) -> Result<Signature, SignerError> {
|
||||
Ok(Signature::new(&[1u8; 64]))
|
||||
}
|
||||
|
||||
fn is_interactive(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
let present: Box<dyn Signer> = Box::new(keypair_from_seed(&[2u8; 32]).unwrap());
|
||||
|
Reference in New Issue
Block a user