From 5033929a45a5e2498cb0c16e7604ffcbab2aace3 Mon Sep 17 00:00:00 2001 From: lvaccaro Date: Thu, 24 Aug 2023 23:08:43 +0200 Subject: [PATCH] fix(rpc): update msat on Pay response Signed-off-by: lvaccaro --- rpc/src/responses.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/src/responses.rs b/rpc/src/responses.rs index fc2dac2..15b0283 100644 --- a/rpc/src/responses.rs +++ b/rpc/src/responses.rs @@ -331,8 +331,8 @@ pub struct FailureItem { pub struct Pay { pub payment_hash: String, pub destination: String, - pub msatoshi: u64, - pub msatoshi_sent: u64, + pub amount_msat: MSat, + pub amount_sent_msat: MSat, pub created_at: f64, pub status: String, pub payment_preimage: String,