lnrpc: switch Transaction.Amount from double (BTC) to int64 (sat)

This commit is contained in:
Thomas Preindl authored and Olaoluwa Osuntokun committed 2017-03-16 12:39:40 -07:00
1 parent b880d2dd03
commit 862722d6fe
4 files changed
+261 -262

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ service Lightning {
message Transaction {
string tx_hash = 1 [ json_name = "tx_hash" ];
double amount = 2 [ json_name = "amount" ];
int64 amount = 2 [ json_name = "amount" ];
int32 num_confirmations = 3 [ json_name = "num_confirmations" ];
string block_hash = 4 [ json_name = "block_hash" ];
int32 block_height = 5 [ json_name = "block_height" ];