v2: trx_id - str -> int

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
2025-03-04 14:41:37 +03:30
parent 8e26824d21
commit ea79873420
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -212,7 +212,7 @@ message TFAReq {
optional string mobile = 2;
optional string email = 3;
optional string reason = 4; // issued jwt reason -> can be login, redeem, withdrawal
optional string transaction_id = 5;
optional int64 transaction_id = 5;
optional TfaStateEnum state = 6;
}
@@ -235,7 +235,7 @@ message CheckTFAReq {
message TFA {
TfaStateEnum state = 1;
int64 code = 2;
string transaction_id = 3;
int64 transaction_id = 3;
}
enum TfaStateEnum {
+1 -1
View File
@@ -350,7 +350,7 @@ message TransferAssetRes {
auth.v1.Recipient recipient = 1;
double amount = 2;
// TODO: Change to Asset
string transaction_id = 3;
int64 transaction_id = 3;
string transaction_hash = 4;
}