git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 81d0532d8db56cc223279a44230e171e4fb1a3dc

Transaction: data should be of type Uint8Array

Alex Beregszaszi committed on 8/17/2016, 4:22:53 PM
Parent: a6db0750f91c745388ddb58fe60c2d8b9efba077

Files changed

transaction.jschanged
transaction.jsView
@@ -34,9 +34,9 @@
3434 return new U256(this._tx.value)
3535 }
3636
3737 get data () {
38- return this._tx.data
38+ return Uint8Array.from(this._tx.data)
3939 }
4040
4141 get from () {
4242 return new Address(this._tx.getSenderAddress())

Built with git-ssb-web