From 36af98b1866fb64cc1d33d1108f040a56bac6868 Mon Sep 17 00:00:00 2001 From: hossein_225 Date: Mon, 9 Dec 2024 12:13:55 +0330 Subject: [PATCH] add some optional feat & change key name in TFA --- auth/v1/msg.proto | 2 +- wallet/v1/msg.proto | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/auth/v1/msg.proto b/auth/v1/msg.proto index 1787638..d09aeac 100644 --- a/auth/v1/msg.proto +++ b/auth/v1/msg.proto @@ -210,7 +210,7 @@ message CheckTFAReq { } message TFA { - string status = 1; + string key = 1; int64 code = 2; string transaction_id = 3; } \ No newline at end of file diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index b24ff8c..99140f8 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -290,9 +290,9 @@ message UserBuyAssetReq { */ message Recipient { - string recipient = 1; - string recipient_first_name = 2; - string recipient_last_name = 3; + string id = 1; + optional string first_name = 2; + optional string last_name = 3; } message InternalTransferAssetReq { @@ -302,7 +302,7 @@ message InternalTransferAssetReq { optional int64 network_id = 4; int64 asset_id = 5; optional bool approval = 6; - auth.v1.TFA tfa = 7; + optional auth.v1.TFA tfa = 7; } message InternalTransferAssetRes {