mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-21 16:04:27 +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:
@@ -22,11 +22,10 @@ class HomePage extends StatefulWidget {
|
||||
class _HomePageState extends State<HomePage> {
|
||||
Stream<GetInfoResponse> walletInfoStream() async* {
|
||||
debugPrint("Initialized walletInfoStream");
|
||||
GetInfoRequest req = const GetInfoRequest(withScan: false);
|
||||
yield await widget.liquidSDK.getInfo(req: req);
|
||||
yield await widget.liquidSDK.getInfo();
|
||||
while (true) {
|
||||
await Future.delayed(const Duration(seconds: 10));
|
||||
yield await widget.liquidSDK.getInfo(req: req);
|
||||
yield await widget.liquidSDK.getInfo();
|
||||
debugPrint("Refreshed wallet info");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user