mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
Merge pull request #663 from cypherstack/httpsend-error-fix
Fix HTTP send error
This commit is contained in:
commit
e26b3d1221
1 changed files with 2 additions and 3 deletions
|
@ -176,7 +176,7 @@ Future<void> executeNative(Map<String, dynamic> arguments) async {
|
||||||
final selectionStrategyIsAll =
|
final selectionStrategyIsAll =
|
||||||
arguments['selectionStrategyIsAll'] as int?;
|
arguments['selectionStrategyIsAll'] as int?;
|
||||||
final minimumConfirmations = arguments['minimumConfirmations'] as int?;
|
final minimumConfirmations = arguments['minimumConfirmations'] as int?;
|
||||||
final message = arguments['onChainNote'] as String?;
|
final message = arguments['message'] as String?;
|
||||||
final amount = arguments['amount'] as int?;
|
final amount = arguments['amount'] as int?;
|
||||||
final address = arguments['address'] as String?;
|
final address = arguments['address'] as String?;
|
||||||
|
|
||||||
|
@ -492,7 +492,7 @@ class EpicCashWallet extends CoinServiceAPI
|
||||||
Logging.instance
|
Logging.instance
|
||||||
.log("this is a string $message", level: LogLevel.Error);
|
.log("this is a string $message", level: LogLevel.Error);
|
||||||
stop(receivePort);
|
stop(receivePort);
|
||||||
throw Exception("txHttpSend isolate failed");
|
throw Exception(message);
|
||||||
}
|
}
|
||||||
stop(receivePort);
|
stop(receivePort);
|
||||||
Logging.instance
|
Logging.instance
|
||||||
|
@ -1727,7 +1727,6 @@ class EpicCashWallet extends CoinServiceAPI
|
||||||
String? commitId = slatesToCommits[slateId]?['commitId'] as String?;
|
String? commitId = slatesToCommits[slateId]?['commitId'] as String?;
|
||||||
tx['numberOfMessages'] = tx['messages']?['messages']?.length;
|
tx['numberOfMessages'] = tx['messages']?['messages']?.length;
|
||||||
tx['onChainNote'] = tx['messages']?['messages']?[0]?['message'];
|
tx['onChainNote'] = tx['messages']?['messages']?[0]?['message'];
|
||||||
print("ON CHAIN MESSAGE IS ${tx['onChainNote']}");
|
|
||||||
|
|
||||||
int? height;
|
int? height;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue