Skip to content
Merged

. #334

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ export interface components {
inputs?: {
[key: string]: components["schemas"]["FlowInputValueDoc"];
} | null;
output_instructions?: boolean | null;
};
StartFlowParamsDoc: {
environment?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
{
"name": "signature",
"type": "signature",
"optional": true,
"tooltip": "Transaction signature"
},
{
Expand Down
7 changes: 6 additions & 1 deletion crates/cmds-solana/src/system_program/transfer_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ pub struct Input {
pub struct Output {
#[serde(default, with = "value::signature::opt")]
pub signature: Option<Signature>,
#[serde(with = "value::pubkey")]
pub recipient_token_account: Pubkey,
}

async fn run(mut ctx: CommandContext, input: Input) -> Result<Output, CommandError> {
Expand Down Expand Up @@ -183,7 +185,10 @@ async fn run(mut ctx: CommandContext, input: Input) -> Result<Output, CommandErr
.await?
.signature;

Ok(Output { signature })
Ok(Output {
signature,
recipient_token_account,
})
}

#[cfg(test)]
Expand Down
Loading
Loading