chain: update neutrino client due to recent API changes
This commit is contained in:
parent
06da9724e2
commit
caab9f91f0
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func (s *NeutrinoClient) GetBlock(hash *chainhash.Hash) (*wire.MsgBlock, error)
|
||||||
// TODO(roasbeef): add a block cache?
|
// TODO(roasbeef): add a block cache?
|
||||||
// * which evication strategy? depends on use case
|
// * which evication strategy? depends on use case
|
||||||
// Should the block cache be INSIDE neutrino instead of in btcwallet?
|
// 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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue