From d3f5532122684d492b7da8d2d60662b95988ca64 Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Sat, 5 Oct 2024 16:34:41 +0200 Subject: [PATCH] test_utils: use pb::cln Paystatus --- libs/sdk-core/src/lnurl/pay.rs | 2 +- libs/sdk-core/src/test_utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sdk-core/src/lnurl/pay.rs b/libs/sdk-core/src/lnurl/pay.rs index 50d4b6d30..727bb3133 100644 --- a/libs/sdk-core/src/lnurl/pay.rs +++ b/libs/sdk-core/src/lnurl/pay.rs @@ -34,7 +34,7 @@ pub(crate) mod tests { use anyhow::{anyhow, Result}; use gl_client::bitcoin::hashes::hex::ToHex; - use gl_client::signer::model::greenlight::PayStatus; + use gl_client::pb::cln::pay_response::PayStatus; use mockito::Mock; use rand::random; diff --git a/libs/sdk-core/src/test_utils.rs b/libs/sdk-core/src/test_utils.rs index 1c953c26a..28ed1f8cb 100644 --- a/libs/sdk-core/src/test_utils.rs +++ b/libs/sdk-core/src/test_utils.rs @@ -5,8 +5,8 @@ use std::{mem, vec}; use anyhow::{Error, Result}; use chrono::{SecondsFormat, Utc}; +use gl_client::pb::cln::pay_response::PayStatus; use gl_client::pb::cln::Amount; -use gl_client::signer::model::greenlight::PayStatus; use rand::distributions::uniform::{SampleRange, SampleUniform}; use rand::distributions::{Alphanumeric, DistString, Standard}; use rand::rngs::OsRng;