onchain 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onchain/sweeper.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76c699a0f5365c385f143ff3c25734a5627a8ad1
|
4
|
+
data.tar.gz: 8e626e7fd3e433d759617b900095a3d9c4fa7624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09076ab32bb96385635f136eb9198ad97dcd9b02c3ff8b641f8a070732adc6379741acf2da324c6750786d1f2548321c9ddcd6fbaedfd87481ad1acc9d7a0b48
|
7
|
+
data.tar.gz: ed1e02b6cf0889fe1eccd4f45bc6253e3585f82332b071a92db5df70e3d69b460b8a09c11038184424b2eee3c976ae6a8d3d3cf4ee268c00f330552243bc7ae2
|
data/lib/onchain/sweeper.rb
CHANGED
@@ -125,7 +125,7 @@ class OnChain::Sweeper
|
|
125
125
|
return OnChain.bin_to_hex(tx.to_payload), paths
|
126
126
|
end
|
127
127
|
|
128
|
-
def post_tx_for_signing(tx_hex, paths)
|
128
|
+
def post_tx_for_signing(tx_hex, paths, address)
|
129
129
|
|
130
130
|
meta = ''
|
131
131
|
if paths != nil
|
@@ -136,6 +136,7 @@ class OnChain::Sweeper
|
|
136
136
|
|
137
137
|
return HTTParty.post('https://onchain.herokuapp.com/api/v1/transaction',
|
138
138
|
:body => { :tx => tx_hex,
|
139
|
+
:address => address,
|
139
140
|
:meta_data => meta,
|
140
141
|
:user_email => ENV['ONCHAIN_EMAIL'],
|
141
142
|
:user_token => ENV['ONCHAIN_TOKEN'] })
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Purton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|