sibit 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sibit/version.rb +1 -1
- data/lib/sibit.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97fc6e459620d8c1b470291e6680c8a163c34b54ca78c8f47a8e95812cef273d
|
4
|
+
data.tar.gz: 5af36c2a284b1bad0746da7c05c8afd6685a7726dd79129bce050a4f7e8ed524
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9523d9228dde8234aebfaf1af0e0f7d3046c58694581aaff0795450c7508b26f98fa698b4c1669a4f11445e8a99e0f0a5c54da0b4034c01e2bbb3575f1e00516
|
7
|
+
data.tar.gz: e9f384160b3ab50f61f697a47860620bd39caeade8636ee8611630577f0d6f1c0c88cd01d1a0560fd4370ea2d6fd94dd46c50c9da28befa2500c2e858c2b858a
|
data/lib/sibit/version.rb
CHANGED
data/lib/sibit.rb
CHANGED
@@ -211,7 +211,7 @@ class Sibit
|
|
211
211
|
start = Time.now
|
212
212
|
uri = URI('https://blockchain.info/pushtx')
|
213
213
|
res = Net::HTTP.post_form(uri, tx: body)
|
214
|
-
raise Error, "Failed to post tx to #{uri}: #{res.code}" unless res.code == '200'
|
214
|
+
raise Error, "Failed to post tx to #{uri}: #{res.code}\n#{res.body}" unless res.code == '200'
|
215
215
|
debug("POST #{uri}: #{res.code} in #{age(start)}")
|
216
216
|
end
|
217
217
|
|