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; }