mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-01 08:12:14 +00:00
add set_fee to tx builder
This commit is contained in:
parent
1ce4e97632
commit
0883d7f3fc
@ -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.
|
/// 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
|
/// Returns an error if the given Merkle path does not have the same anchor as the
|
||||||
|
Loading…
Reference in New Issue
Block a user