Print transactions list
This commit is contained in:
@@ -90,7 +90,6 @@ impl BlockData {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub struct SaplingNoteData {
|
||||
account: usize,
|
||||
extfvk: ExtendedFullViewingKey, // Technically, this should be recoverable from the account number, but we're going to refactor this in the future, so I'll write it again here.
|
||||
@@ -254,6 +253,13 @@ impl SaplingNoteData {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn note_address(&self) -> Option<String> {
|
||||
match self.extfvk.fvk.vk.into_payment_address(self.diversifier, &JUBJUB) {
|
||||
Some(pa) => Some(encode_payment_address(HRP_SAPLING_PAYMENT_ADDRESS, &pa)),
|
||||
None => None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct WalletTx {
|
||||
|
||||
Reference in New Issue
Block a user