etherlite 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e2219e30428821c5866a33aa415a4ab4217b3b6f66eaa20f4bd701f64070cdc
4
- data.tar.gz: df7c5c3d51712a08cd3aabc203ebfc4a0daa853610666d0d111f166e1607cf73
3
+ metadata.gz: a8beb990ec1fa4fabecb75a9162645a53eef721e5893d1514d4b31ba79879fbd
4
+ data.tar.gz: b6614af7c2af90feaac3bbc20cc5b7b72bdb67cf6c3be4191a4264cab76fa4ae
5
5
  SHA512:
6
- metadata.gz: ba8e3b442d736af75785838a131a02c02a6075c67fe1126f4ba60bc0ae24df2fb37924bf253fd9bf846f71fb91f6ebff35edb6fa6bc7fd322824bd2ea593122a
7
- data.tar.gz: 9d6c0edd407d09be73e90a2ad3bd53d323f7297073bfff84fd22f6a0f6a4a844ff3c11080b6a142ccb17d1e2823123d71abaa5f6f91c079fb320fe5b9a9e1fd7
6
+ metadata.gz: b6aa631ed700987f27da859c7f68781c6ee4d148be34b1bc192af5ac5e223c96b446f4002c598e4f516ed469eeae313ffb9d2658a6dead638544ad03f2e796a2
7
+ data.tar.gz: 4349906dba722c8bdaa6a2de6e4d6a33555bf15cb15d90ac292709b4350c9a94d3128b2522d270105e6dedaec8d19e10fff06eae3f68e0750257bbfbb0046c99
@@ -45,6 +45,12 @@ module Etherlite
45
45
  Utils.hex_to_uint(original['blockNumber'])
46
46
  end
47
47
 
48
+ def block_hash
49
+ return nil unless mined?
50
+
51
+ original['blockHash']
52
+ end
53
+
48
54
  def confirmations
49
55
  return 0 unless mined?
50
56
 
@@ -1,3 +1,3 @@
1
1
  module Etherlite
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etherlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-09 00:00:00.000000000 Z
11
+ date: 2021-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: digest-sha3