summaryrefslogtreecommitdiff
path: root/src/key
diff options
context:
space:
mode:
Diffstat (limited to 'src/key')
-rw-r--r--src/key/online.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/key/online.rs b/src/key/online.rs
index 0c0c80f..a78ac91 100644
--- a/src/key/online.rs
+++ b/src/key/online.rs
@@ -31,6 +31,12 @@ pub struct OnlineKey {
signer: Signer,
}
+impl Default for OnlineKey {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl OnlineKey {
pub fn new() -> Self {
OnlineKey {