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:
ok300
2024-06-12 13:23:32 +00:00
committed by GitHub
parent a2936500a3
commit 31e2ab44af
26 changed files with 74 additions and 406 deletions

View File

@@ -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;