From ea631398092d396d7ff859bf51290f4adee20377 Mon Sep 17 00:00:00 2001 From: henry Date: Sun, 8 Oct 2017 20:40:14 -0400 Subject: [PATCH] remove cryptocoin parameter --- .../ValidateBitsharesSendRequest.java | 8 ++++---- .../ValidateExistBitsharesAccountRequest.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateBitsharesSendRequest.java b/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateBitsharesSendRequest.java index 3a985f5..8610cbe 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateBitsharesSendRequest.java +++ b/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateBitsharesSendRequest.java @@ -18,10 +18,10 @@ public class ValidateBitsharesSendRequest extends CryptoNetInfoRequest { private Boolean isSend; - public ValidateBitsharesSendRequest(CryptoCoin coin, String sourceAccount, String toAccount, + public ValidateBitsharesSendRequest(String sourceAccount, String toAccount, long baseAmount, String baseAsset, long feeAmount, String feeAsset, String memo) { - super(coin); + super(CryptoCoin.BITSHARES); this.mSourceAccount = sourceAccount; this.mToAccount = toAccount; this.mBaseAmount = baseAmount; @@ -31,10 +31,10 @@ public class ValidateBitsharesSendRequest extends CryptoNetInfoRequest { this.mMemo = memo; } - public ValidateBitsharesSendRequest(CryptoCoin coin, String sourceAccount, String toAccount, + public ValidateBitsharesSendRequest(String sourceAccount, String toAccount, long baseAmount, String baseAsset, long feeAmount, String feeAsset) { - this(coin,sourceAccount,toAccount,baseAmount,baseAsset,feeAmount,feeAsset,null); + this(sourceAccount,toAccount,baseAmount,baseAsset,feeAmount,feeAsset,null); } public String getSourceAccount() { diff --git a/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateExistBitsharesAccountRequest.java b/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateExistBitsharesAccountRequest.java index ace3061..ea95239 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateExistBitsharesAccountRequest.java +++ b/app/src/main/java/cy/agorise/crystalwallet/cryptonetinforequests/ValidateExistBitsharesAccountRequest.java @@ -15,8 +15,8 @@ public class ValidateExistBitsharesAccountRequest extends CryptoNetInfoRequest { // The result of the validation, or null if there isn't a response private Boolean accountExists; - public ValidateExistBitsharesAccountRequest(CryptoCoin coin, String accountName) { - super(coin); + public ValidateExistBitsharesAccountRequest(String accountName) { + super(CryptoCoin.BITSHARES); this.accountName = accountName; }