add set_fee to tx builder

This commit is contained in:
Cryptoforge 2020-07-30 21:37:54 -07:00
parent 1ce4e97632
commit 0883d7f3fc

View File

@ -332,6 +332,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 Merkle path does not have the same anchor as the