Skip to content

Commit 64d2575

Browse files
committed
adjust BTC amounts
1 parent 0bb8707 commit 64d2575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

payment_bitcoin/tests/test_bitcoin_payment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def _mock_blockchain_info_address_with_payment(self, url, *args, **kwargs):
340340
return MockResponse(
341341
{
342342
"address": address,
343-
"total_received": 123400000, # 1.234 BTC in satoshis
343+
"total_received": 0.00001234, # Same as the rate we set in the test
344344
"txs": [
345345
{
346346
"hash": (
@@ -371,7 +371,7 @@ def _mock_blockchain_info_address_insufficient_payment(self, url, *args, **kwarg
371371
return MockResponse(
372372
{
373373
"address": address,
374-
"total_received": 50000000, # 0.5 BTC in satoshis (less than required)
374+
"total_received": 0.5, # 0.5 BTC (less than the 1.234 BTC required)
375375
"txs": [
376376
{
377377
"hash": (

0 commit comments

Comments
 (0)