From 9a563e799271816b46dc47f472f46261d99237bf Mon Sep 17 00:00:00 2001 From: mapoofano Date: Sun, 19 Jan 2025 15:43:10 +0330 Subject: [PATCH 1/2] chore: add token price in transaction message --- wallet/v1/msg.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index 81ec246..16b4d33 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -267,6 +267,7 @@ message Transaction { optional string trx_hash = 18; optional string from_public_key = 19; optional string to_public_key = 20; + float64 token_price = 21; } message UserGetTransactionListReq { From c33d166b9225fbe166271d34a7e8a85900548275 Mon Sep 17 00:00:00 2001 From: mapoofano Date: Sun, 19 Jan 2025 15:44:58 +0330 Subject: [PATCH 2/2] chore: convert token pirce type to double --- wallet/v1/msg.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index 16b4d33..130dff7 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -267,7 +267,7 @@ message Transaction { optional string trx_hash = 18; optional string from_public_key = 19; optional string to_public_key = 20; - float64 token_price = 21; + double token_price = 21; } message UserGetTransactionListReq {