BREAKING CHANGE: Use ripple-binary-codec

This commit is contained in:
Chris Clark
2015-10-06 12:45:05 -07:00
parent 57ecbc58f8
commit 91a64137fe
12 changed files with 111 additions and 64 deletions

View File

@@ -109,7 +109,7 @@ Ledger.prototype.calc_tx_hash = function() {
const meta = SerializedObject.from_json(tx_json.metaData);
const data = new SerializedObject();
stypes.VariableLength.serialize(data, tx.serialize().to_hex());
stypes.VariableLength.serialize(data, tx.serialize());
stypes.VariableLength.serialize(data, meta.to_hex());
tx_map.add_item(tx.hash(), data, SHAMapTreeNode.TYPE_TRANSACTION_MD);
});