Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api/src/api/bitcoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ pub struct BroadcastTransaction {
#[n(1)]
pub psbt: Vec<u8>,
}

// If None, there's no passphrase, hide passphrased accounts
#[quantum_link]
pub struct ApplyPassphrase {
#[n(0)]
pub fingerprint: Option<String>,
}
2 changes: 2 additions & 0 deletions api/src/api/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,6 @@ pub enum QuantumLinkMessage {
RestoreMagicBackupResult(#[n(0)] RestoreMagicBackupResult),
#[n(100)]
RawData(#[n(0)] RawData),
#[n(101)]
ApplyPassphrase(#[n(0)] ApplyPassphrase),
}