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 c06ae32 commit 3c21f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/example/paid_service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async fn cost_1000_attached_cycles() -> Result<String, PaymentError> {
Ok("Yes, you paid 1000 cycles!".to_string())
}

/// An API method that requires 1 billion cycles to be provided by the user using an ICRC-2 approve.
/// An API method that requires 1 billion cycles using an ICRC-2 approve with default parameters.
#[update()]
async fn cost_1b_icrc2_from_caller() -> Result<String, PaymentError> {
let guard = Icrc2FromCaller {
Expand Down

0 comments on commit 3c21f70

Please sign in to comment.