bitsy-bitcoin 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/bitsy/updating/update_transaction.rb +2 -2
- data/lib/bitsy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b692b3791e8e6abb4131bb0c9151f42d378f252
|
4
|
+
data.tar.gz: 9d345f228b8fad7c98321379e68d33776bcea596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc1b348c97e58ee019b0a469b0dc0df27e19bad684df7a32f8a44d20465971d06a64a5dcc87631ae579d2f2a5987ab80410b4726ba9aea8bc669daa4fd66f2c5
|
7
|
+
data.tar.gz: ce0184f1f6014a9a571823d258ad70829fdfc2cef4f2ca87e7cef286e2126cfaa5990312bd7abc0aec25ee00b6b81f6eaaffcc82cbe97c8d64255ed2104ef20b
|
@@ -9,8 +9,8 @@ module Bitsy
|
|
9
9
|
blockchain_tx = Blockchain.
|
10
10
|
get_tx(ctx.payment_transaction.transaction_id)
|
11
11
|
confirmations = if blockchain_tx.block_height
|
12
|
-
|
13
|
-
|
12
|
+
ctx.latest_block.height -
|
13
|
+
blockchain_tx.block_height + 1
|
14
14
|
else
|
15
15
|
0
|
16
16
|
end
|
data/lib/bitsy/version.rb
CHANGED