rpcclient: Put CFHeader in PrevFilterHeader field in RPC response.
This commit is contained in:
parent
4d0e856ea1
commit
7b67f61fa6
1 changed files with 1 additions and 5 deletions
|
@ -900,11 +900,7 @@ func (r FutureGetCFilterHeaderResult) Receive() (*wire.MsgCFHeaders, error) {
|
|||
}
|
||||
|
||||
// Assign the hash to a headers message and return it.
|
||||
var msgCFHeaders wire.MsgCFHeaders
|
||||
err = msgCFHeaders.AddCFHeader(headerHash)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
msgCFHeaders := wire.MsgCFHeaders{PrevFilterHeader: *headerHash}
|
||||
return &msgCFHeaders, nil
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue