Skip to content

Commit

Permalink
Update function parameters when calling mobilecoind::UnspentTxOut (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzman authored Apr 3, 2024
1 parent 4869d29 commit 34768b8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 10 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions full-service/src/json_rpc/v1/models/tx_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use crate::{
use mc_common::HashMap;
use mc_mobilecoind_json::data_types::{JsonOutlayV2, JsonTx, JsonUnspentTxOut};

use mc_transaction_core::MemoPayload;
use mc_transaction_extra::TxOutConfirmationNumber;
use redact::{expose_secret, Secret};
use serde_derive::{Deserialize, Serialize};
Expand Down Expand Up @@ -57,6 +58,7 @@ impl TryFrom<&TxProposalServiceModel> for mc_mobilecoind::payments::TxProposal {
attempted_spend_height: 0,
attempted_spend_tombstone: 0,
token_id: *input_txo.amount.token_id,
memo_payload: MemoPayload::default().into(),
})
.collect();

Expand Down

0 comments on commit 34768b8

Please sign in to comment.