chain: update neutrino client due to recent API changes

This commit is contained in:
Olaoluwa Osuntokun 2018-08-22 20:20:25 -07:00
parent 06da9724e2
commit caab9f91f0
No known key found for this signature in database
GPG key ID: 964EA263DD637C21

View file

@ -106,7 +106,7 @@ func (s *NeutrinoClient) GetBlock(hash *chainhash.Hash) (*wire.MsgBlock, error)
// TODO(roasbeef): add a block cache?
// * which evication strategy? depends on use case
// Should the block cache be INSIDE neutrino instead of in btcwallet?
block, err := s.CS.GetBlockFromNetwork(*hash)
block, err := s.CS.GetBlock(*hash)
if err != nil {
return nil, err
}