[bisq-network/bisq] Add API test harness for Linux (#4366)
Stan
notifications at github.com
Fri Jul 17 17:53:34 UTC 2020
@ghubstan commented on this pull request.
> + }
+ }
+
+ @Test
+ @Order(1)
+ public void testFundWallet() {
+ long balance = getBalance(); // bisq wallet was initialized with 10 btc
+ assertEquals(1000000000, balance);
+
+ String unusedAddress = getUnusedBtcAddress();
+
+ // Given the default tx fee rate, we want to send 2.5 + the fee,
+ // so the new wallet balance will be exactly 12.5 btc.
+ // We should calculate the fee based on the fee rate and tx size
+ // instead of hard coding the fee amount.
+ double btc = parseDouble("2.5") + parseDouble("0.0000336");
This is fixed in commit 5d7133a.
--
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/4366#discussion_r456589320
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200717/7a3b1329/attachment.html>
More information about the bisq-github
mailing list