Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lib/services/coins/epiccash/epiccash_wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,11 @@ class EpicCashWallet extends CoinServiceAPI
Future<String> confirmSend({required Map<String, dynamic> txData}) async {
try {
final wallet = await _secureStore.read(key: '${_walletId}_wallet');

EpicBoxConfigModel epicboxConfig = await getEpicBoxConfig();

print("EPICBOX CONFIG HERE IS $epicboxConfig");

// TODO determine whether it is worth sending change to a change address.
dynamic message;

Expand Down Expand Up @@ -496,7 +499,7 @@ class EpicCashWallet extends CoinServiceAPI
"amount": txData['recipientAmt'],
"address": txData['addresss'],
"secretKeyIndex": 0,
"epicboxConfig": epicboxConfig,
"epicboxConfig": epicboxConfig.toString(),
"minimumConfirmations": MINIMUM_CONFIRMATIONS,
}, name: walletName);

Expand Down Expand Up @@ -1186,6 +1189,8 @@ class EpicCashWallet extends CoinServiceAPI
await _secureStore.write(key: '${_walletId}_mnemonic', value: mnemonic);
await _secureStore.write(key: '${_walletId}_config', value: stringConfig);
await _secureStore.write(key: '${_walletId}_password', value: password);

print("EPIC BOX MODEL IS ${epicboxConfig.toString()}");
await _secureStore.write(
key: '${_walletId}_epicboxConfig', value: epicboxConfig.toString());

Expand Down