diff options
Diffstat (limited to 'integration_test/node.go')
-rw-r--r-- | integration_test/node.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/integration_test/node.go b/integration_test/node.go index 3193d99..2280b18 100644 --- a/integration_test/node.go +++ b/integration_test/node.go @@ -118,6 +118,7 @@ func NewNode( privateKey, eth.SigToPub, app, + app, db), } } @@ -203,7 +204,7 @@ func (n *Node) processBlock(b *types.Block) (err error) { if err = n.db.Update(*b); err != nil { return } - n.app.DeliverBlock(b.Hash, b.Witness.Timestamp) + n.app.BlockDeliver(*b) } // Update pending blocks for verified block (pass sanity check). pendings = append(pendings, verified...) |