Changes internal serialization to use Buffers instead

This commit is contained in:
Daniel Cousens 2014-05-02 06:36:21 +10:00
parent c8bda6dde6
commit a8cf2fdd9e
5 changed files with 123 additions and 78 deletions

View file

@ -146,7 +146,7 @@ function Wallet(seed, options) {
}
this.processTx = function(tx) {
var txhash = convert.bytesToHex(tx.getHash())
var txhash = tx.getHash()
tx.outs.forEach(function(txOut, i){
var address = txOut.address.toString()