diff --git a/graphenej/src/main/java/de/bitsharesmunich/graphenej/TransferOperation.java b/graphenej/src/main/java/de/bitsharesmunich/graphenej/TransferOperation.java index bbf2204..10c3acf 100644 --- a/graphenej/src/main/java/de/bitsharesmunich/graphenej/TransferOperation.java +++ b/graphenej/src/main/java/de/bitsharesmunich/graphenej/TransferOperation.java @@ -41,11 +41,6 @@ public class TransferOperation extends BaseOperation { this.memo = new Memo(); } - @Override - public void setFee(AssetAmount newFee){ - this.fee = newFee; - } - public UserAccount getFrom(){ return this.from; } @@ -62,6 +57,23 @@ public class TransferOperation extends BaseOperation { return this.fee; } + public void setAssetAmount(AssetAmount assetAmount){ + this.amount = assetAmount; + } + + public void setFrom(UserAccount from) { + this.from = from; + } + + public void setTo(UserAccount to) { + this.to = to; + } + + @Override + public void setFee(AssetAmount newFee){ + this.fee = newFee; + } + @Override public byte[] toBytes() { byte[] feeBytes = fee.toBytes();