diff --git a/lib/services/coins/epiccash/epiccash_wallet.dart b/lib/services/coins/epiccash/epiccash_wallet.dart index 7a39ebb9b..a67f7e183 100644 --- a/lib/services/coins/epiccash/epiccash_wallet.dart +++ b/lib/services/coins/epiccash/epiccash_wallet.dart @@ -479,7 +479,7 @@ class EpicCashWallet extends CoinServiceAPI "minimumConfirmations": MINIMUM_CONFIRMATIONS, "message": "", "amount": (txData['recipientAmt'] as Amount).raw.toInt(), - "address": (txData['addresss'] as Amount).raw.toInt(), + "address": txData['addresss'] as String, }, name: walletName); message = await receivePort.first; @@ -497,7 +497,7 @@ class EpicCashWallet extends CoinServiceAPI "function": "createTransaction", "wallet": wallet!, "amount": (txData['recipientAmt'] as Amount).raw.toInt(), - "address": (txData['addresss'] as Amount).raw.toInt(), + "address": txData['addresss'] as String, "secretKeyIndex": 0, "epicboxConfig": epicboxConfig.toString(), "minimumConfirmations": MINIMUM_CONFIRMATIONS,