git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 5d86567ebbf5f217936f99fa1f8bc7ffb334dc21

Address: include isZero

Alex Beregszaszi committed on 8/13/2016, 1:47:01 AM
Parent: 4ff6379f39ae924c4b07f1019a4716bcceee6eda

Files changed

address.jschanged
address.jsView
@@ -25,5 +25,9 @@
2525
2626 toString () {
2727 return '0x' + this._value.toString('hex')
2828 }
29+
30+ isZero () {
31+ return this._value.equals(ethUtils.zeros(20))
32+ }
2933 }

Built with git-ssb-web