We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774250c commit 06af61bCopy full SHA for 06af61b
crates/iota-sdk-transaction-builder/src/builder/mod.rs
@@ -878,7 +878,7 @@ impl<L> TransactionBuilder<Client, L> {
878
.objects(
879
ObjectFilter {
880
type_: Some(StructTag::new_gas_coin().to_string()),
881
- owner: Some(self.data.sender),
+ owner: Some(self.data.sponsor.unwrap_or(self.data.sender)),
882
..Default::default()
883
},
884
Default::default(),
0 commit comments