From 68973b4c85d9bf58648ff3370091fa713cd19483 Mon Sep 17 00:00:00 2001 From: Patrick Nagurny Date: Fri, 27 Jan 2017 10:15:34 -0500 Subject: [PATCH] get tip operation in serial sync --- lib/services/db/sync.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/services/db/sync.js b/lib/services/db/sync.js index c1d30b0b..e668393e 100644 --- a/lib/services/db/sync.js +++ b/lib/services/db/sync.js @@ -273,6 +273,8 @@ ProcessSerial.prototype._transform = function(block, enc, callback) { return callback(err); } + operations.push(self.db.getTipOperation(block, true)); + var obj = { tip: block, operations: operations