mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +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 =
|
||||
arguments['selectionStrategyIsAll'] 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 address = arguments['address'] as String?;
|
||||
|
||||
|
@ -492,7 +492,7 @@ class EpicCashWallet extends CoinServiceAPI
|
|||
Logging.instance
|
||||
.log("this is a string $message", level: LogLevel.Error);
|
||||
stop(receivePort);
|
||||
throw Exception("txHttpSend isolate failed");
|
||||
throw Exception(message);
|
||||
}
|
||||
stop(receivePort);
|
||||
Logging.instance
|
||||
|
@ -1727,7 +1727,6 @@ class EpicCashWallet extends CoinServiceAPI
|
|||
String? commitId = slatesToCommits[slateId]?['commitId'] as String?;
|
||||
tx['numberOfMessages'] = tx['messages']?['messages']?.length;
|
||||
tx['onChainNote'] = tx['messages']?['messages']?[0]?['message'];
|
||||
print("ON CHAIN MESSAGE IS ${tx['onChainNote']}");
|
||||
|
||||
int? height;
|
||||
|
||||
|
|
Loading…
Reference in a new issue