[bisq-network/bisq] Refactor desktop's BsqSendView 'sendbsq', share with api (#4801)

Stan notifications at github.com
Wed Dec 2 19:03:32 CET 2020


@ghubstan commented on this pull request.



> +                            Transaction signedTx) {
+        this.receiverAddress = receiverAddress;
+        this.receiverAmount = receiverAmount;
+        this.preparedSendTx = preparedSendTx;
+        this.txWithBtcFee = txWithBtcFee;
+        this.signedTx = signedTx;
+        this.miningFee = signedTx.getFee();
+        this.txSize = signedTx.bitcoinSerialize().length;
+        this.txType = TxType.TRANSFER_BSQ;
+    }
+
+    public String getReceiverAddressAsString() {
+        return receiverAddress.toString();
+    }
+
+    public double getMiningFeeInSatoshisPerByte() {

The CoinUtil method is uses returns a double, but deleted this almost unused method anyway in commit 2efd094f68f2b867624a7c27191b42a08bb15f8f.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4801#discussion_r534373173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201202/a352741c/attachment.htm>


More information about the bisq-github mailing list