Fix MockWalletDB

This commit is contained in:
Kris Nuttycombe 2021-01-12 21:51:08 -07:00
parent 6c6b05fa9b
commit aa72e070ce
1 changed files with 9 additions and 1 deletions

View File

@ -354,7 +354,7 @@ pub mod testing {
use zcash_primitives::{
block::BlockHash,
consensus::{self, BlockHeight},
consensus::{BlockHeight},
merkle_tree::{CommitmentTree, IncrementalWitness},
note_encryption::Memo,
primitives::{Nullifier, PaymentAddress},
@ -470,6 +470,14 @@ pub mod testing {
Ok(Vec::new())
}
fn get_spendable_notes(
&self,
_account: AccountId,
_anchor_height: BlockHeight,
) -> Result<Vec<SpendableNote>, Self::Error> {
Ok(Vec::new())
}
fn select_spendable_notes(
&self,
_account: AccountId,