Skip to content

Commit 57bbebf

Browse files
authored
Merge pull request #391 from cypherstack/fix-send-error
Fix send error
2 parents 8918f0b + a940a0e commit 57bbebf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/services/coins/epiccash/epiccash_wallet.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,11 @@ class EpicCashWallet extends CoinServiceAPI
449449
Future<String> confirmSend({required Map<String, dynamic> txData}) async {
450450
try {
451451
final wallet = await _secureStore.read(key: '${_walletId}_wallet');
452+
452453
EpicBoxConfigModel epicboxConfig = await getEpicBoxConfig();
453454

455+
print("EPICBOX CONFIG HERE IS $epicboxConfig");
456+
454457
// TODO determine whether it is worth sending change to a change address.
455458
dynamic message;
456459

@@ -496,7 +499,7 @@ class EpicCashWallet extends CoinServiceAPI
496499
"amount": txData['recipientAmt'],
497500
"address": txData['addresss'],
498501
"secretKeyIndex": 0,
499-
"epicboxConfig": epicboxConfig,
502+
"epicboxConfig": epicboxConfig.toString(),
500503
"minimumConfirmations": MINIMUM_CONFIRMATIONS,
501504
}, name: walletName);
502505

@@ -1186,6 +1189,8 @@ class EpicCashWallet extends CoinServiceAPI
11861189
await _secureStore.write(key: '${_walletId}_mnemonic', value: mnemonic);
11871190
await _secureStore.write(key: '${_walletId}_config', value: stringConfig);
11881191
await _secureStore.write(key: '${_walletId}_password', value: password);
1192+
1193+
print("EPIC BOX MODEL IS ${epicboxConfig.toString()}");
11891194
await _secureStore.write(
11901195
key: '${_walletId}_epicboxConfig', value: epicboxConfig.toString());
11911196

0 commit comments

Comments
 (0)