git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit dcaa6556e01ca33ce1e213b861a322b7eb14a723

Address: include toBuffer

Alex Beregszaszi committed on 8/13/2016, 2:53:16 AM
Parent: 1cb861903ccb26cbd39eaad7ab6060463380986e

Files changed

address.jschanged
address.jsView
@@ -22,8 +22,12 @@
2222 throw new Error('Invalid address length')
2323 }
2424 }
2525
26+ toBuffer () {
27+ return this._value
28+ }
29+
2630 toString () {
2731 return '0x' + this._value.toString('hex')
2832 }
2933

Built with git-ssb-web