peatio-pepscoin 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7a3f07d9da0e11b9ff9018bfc8ab178205f534e157c062f67582650067ed4b9
4
- data.tar.gz: 47de4eeee32b69f6a8aef80479d0e7a9965cc57d35754a64ee8b7b0eb2c63010
3
+ metadata.gz: 4ca5d549e5456a8d125d2346d29e56a8621e65779d3e82e604fb43f029f01426
4
+ data.tar.gz: 543f1bdd1de90a21879389388158d93e525b619b34dfcde312e976fb7a0f01e9
5
5
  SHA512:
6
- metadata.gz: 0cd14b5d95246ce73913c33039cf05d28211fc0e46f27f0d55f904d56c8863aa74e227c104abee015b9aad403c532c9cf0cd45ba607e1454f776f4ab9721d20d
7
- data.tar.gz: '049a4e5bd61678d92f3a0791d08f734e7d5f96c182b3d82c5da4d29fa152755f12c7ec616e090406bb50f0fc68bc2576ede5d09dfb60ad0cf7f98493d72ca454'
6
+ metadata.gz: 470d3c37dae7e8d70a6128c89159c4a74c97ab49e210c8b6008e97b43846ffd5d5de904f447e5f02492e8d9792e0ca0a4ec6d7d11aa62602f29e36ec547f91a0
7
+ data.tar.gz: 8fab0d5ddd61cbeddf66770188c5e35d5ba708ab6cacfa7a4b1dd381f4114793a7f23f7817bfaf419bf81703d4a01c05379789ea25c74d6afcd774a7414e2ff0
@@ -25,7 +25,7 @@ module Peatio
25
25
  def json_rpc(method, params = [])
26
26
  response = connection.post \
27
27
  '/',
28
- {jsonrpc: '1.0', method: method, params: params}.to_json,
28
+ {jsonrpc: '1.0', id: 'curltest', method: method, params: params}.to_json,
29
29
  {'Accept' => 'application/json',
30
30
  'Content-Type' => 'application/json'}
31
31
  response.assert_success!
@@ -1,5 +1,5 @@
1
1
  module Peatio
2
2
  module Pepscoin
3
- VERSION = "0.0.3".freeze
3
+ VERSION = "0.0.4".freeze
4
4
  end
5
5
  end
@@ -31,9 +31,7 @@ module Peatio
31
31
  txid = client.json_rpc(:sendtoaddress,
32
32
  [
33
33
  transaction.to_address,
34
- transaction.amount.to_f,
35
- '',
36
- ''
34
+ transaction.amount.to_f
37
35
  ])
38
36
  transaction.hash = txid
39
37
  transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peatio-pepscoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Pepers