diff --git a/rpcserver.go b/rpcserver.go index bf583037..b74a1989 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -489,6 +489,7 @@ func jsonRead(body []byte, s *rpcServer, walletNotification chan []byte) (reply if err != nil { log.Errorf("RPCS: Error fetching sha: %v", err) err = btcjson.ErrBlockNotFound + return } idx := blk.Height() var buf []byte