mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 08:54:22 +01:00
get_info: remove with_scan argument (#306)
* get_info: remove with_scan argument * Fix binding tests * Update dart test and kotlin example app * Update RN example app
This commit is contained in:
@@ -91,22 +91,6 @@ class ConnectRequest {
|
||||
config == other.config;
|
||||
}
|
||||
|
||||
class GetInfoRequest {
|
||||
final bool withScan;
|
||||
|
||||
const GetInfoRequest({
|
||||
required this.withScan,
|
||||
});
|
||||
|
||||
@override
|
||||
int get hashCode => withScan.hashCode;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is GetInfoRequest && runtimeType == other.runtimeType && withScan == other.withScan;
|
||||
}
|
||||
|
||||
class GetInfoResponse {
|
||||
/// Usable balance. This is the confirmed onchain balance minus `pending_send_sat`.
|
||||
final BigInt balanceSat;
|
||||
|
||||
Reference in New Issue
Block a user