File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -727,7 +727,7 @@ pub async fn request_cashu(
727727 let content = CashuRequestContent {
728728 mint_url : req. mint_url ,
729729 unit : req. unit ,
730- amount : Amount :: new ( req. amount ) ,
730+ amount : req. amount ,
731731 request_id : Uuid :: new_v4 ( ) . to_string ( ) ,
732732 expires_at,
733733 } ;
@@ -1057,7 +1057,7 @@ async fn spawn_verification_token_request(
10571057 let content = CashuRequestContent {
10581058 mint_url : VERIFICATION_MINT_URL . to_string ( ) ,
10591059 unit : VERIFICATION_TICKET_UNIT . to_string ( ) ,
1060- amount : Amount :: new ( VERIFICATION_TOKEN_AMOUNT ) ,
1060+ amount : VERIFICATION_TOKEN_AMOUNT ,
10611061 request_id : Uuid :: new_v4 ( ) . to_string ( ) ,
10621062 expires_at,
10631063 } ;
Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ pub mod payment {
444444 pub request_id : String ,
445445 pub mint_url : String ,
446446 pub unit : String ,
447- pub amount : Amount ,
447+ pub amount : u64 ,
448448 pub expires_at : Timestamp ,
449449 }
450450
You can’t perform that action at this time.
0 commit comments