mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
Fix HTTP send dart errors
This commit is contained in:
parent
b076e76881
commit
9d68ffe6b2
2 changed files with 4 additions and 4 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 5ae20e71c0bb85952866fdd6aa7572438517943e
|
||||
Subproject commit 516fa886ab5f94bbc32d29e50711bdccc9cbd154
|
|
@ -807,9 +807,7 @@ class EpicCashWallet extends CoinServiceAPI {
|
|||
throw BadEpicHttpAddressException(message: sendTx);
|
||||
}
|
||||
|
||||
if (!(receiverAddress.startsWith("http://") || receiverAddress.startsWith("https://"))) {
|
||||
await putSendToAddresses(sendTx);
|
||||
}
|
||||
await putSendToAddresses(sendTx);
|
||||
|
||||
|
||||
Logging.instance.log("CONFIRM_RESULT_IS $sendTx", level: LogLevel.Info);
|
||||
|
@ -833,6 +831,8 @@ class EpicCashWallet extends CoinServiceAPI {
|
|||
final txCreateResult = decodeData[0];
|
||||
// //TODO: second problem
|
||||
final transaction = json.decode(txCreateResult as String);
|
||||
|
||||
Logger.print("TX_IS $transaction");
|
||||
final tx = transaction[0];
|
||||
final txLogEntry = json.decode(tx as String);
|
||||
final txLogEntryFirst = txLogEntry[0];
|
||||
|
|
Loading…
Reference in a new issue