Merge pull request 'add fee to builder' (#4) from lucretius/librustzcash:sdl into sdl
Reviewed-on: https://git.hush.is/hush/librustzcash/pulls/4
This commit is contained in:
@@ -294,6 +294,10 @@ impl<R: RngCore + CryptoRng> Builder<R> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn set_fee(&mut self, fee: Amount) {
|
||||
self.fee = fee;
|
||||
}
|
||||
|
||||
/// Adds a Sapling note to be spent in this transaction.
|
||||
///
|
||||
/// Returns an error if the given witness does not have the same anchor as previous
|
||||
|
||||
Reference in New Issue
Block a user