remove cryptocoin parameter

master
henry 2017-10-08 20:40:14 -04:00
parent 3aa57e6ca5
commit ea63139809
2 changed files with 6 additions and 6 deletions

View File

@ -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() {

View File

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