Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Sep 9, 2024
1 parent 807a6d9 commit c06ae32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ pub enum PaymentType {
#[derive(Debug, CandidType, Deserialize, Clone, Eq, PartialEq)]
pub struct Icrc2Payment {
/// The user's principal and (optionally) subaccount.
pub payer: Account,
///
/// By default, the caller's main account is used.
pub payer: Option<Account>,
/// The ledger canister ID.
///
/// By default, the cycles ledger is used. A given canister MAY accept other currencies.
Expand Down

0 comments on commit c06ae32

Please sign in to comment.