diff --git a/crates/sdk/src/args.rs b/crates/sdk/src/args.rs index 622be9f901..29fbf1a1da 100644 --- a/crates/sdk/src/args.rs +++ b/crates/sdk/src/args.rs @@ -381,6 +381,18 @@ pub struct TxShieldingTransfer { pub tx_code_path: PathBuf, } +impl TxBuilder for TxShieldingTransfer { + fn tx(self, func: F) -> Self + where + F: FnOnce(Tx) -> Tx, + { + TxShieldingTransfer { + tx: func(self.tx), + ..self + } + } +} + impl TxShieldingTransfer { /// Build a transaction from this builder pub async fn build(