From 37fbff291ca895cff281db27d1356c8cb24a3ddd Mon Sep 17 00:00:00 2001 From: David Hill Date: Sat, 13 Dec 2014 10:02:59 -0500 Subject: [PATCH] Add missing error check --- chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain.go b/chain.go index 69305f90..395002cb 100644 --- a/chain.go +++ b/chain.go @@ -83,7 +83,7 @@ func (r FutureGetBlockResult) Receive() (*btcutil.Block, error) { // Deserialize the block and return it. var msgBlock btcwire.MsgBlock - msgBlock.Deserialize(bytes.NewReader(serializedBlock)) + err = msgBlock.Deserialize(bytes.NewReader(serializedBlock)) if err != nil { return nil, err }