add fee to builder

This commit is contained in:
lucretius
2024-01-22 17:14:06 +01:00
parent 1a0204113d
commit 368b59f937

View File

@@ -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