Transaction: rename (de)serialize to [to/from]Buffer

This commit is contained in:
Daniel Cousens 2014-05-08 10:44:35 +10:00
parent e033a872c9
commit 0468c4710c
4 changed files with 26 additions and 31 deletions
test/integration

View file

@ -59,7 +59,7 @@ describe('p2sh', function() {
tx.setScriptSig(0, scriptSig)
// Send from mutlsigAddress to targetAddress
helloblock.transactions.propagate(tx.serializeHex(), function(err, resp, resource) {
helloblock.transactions.propagate(tx.toHex(), function(err, resp, resource) {
// no err means that transaction has been successfully propagated
if (err) done(err);