in getrawmempool verbose mode, initialize depends to an empty array.
this matches bitcoind. from jrick ok davec
This commit is contained in:
parent
b532860477
commit
2b9f5b8932
1 changed files with 1 additions and 0 deletions
|
@ -1012,6 +1012,7 @@ func handleGetRawMempool(s *rpcServer, cmd btcjson.Cmd) (interface{}, error) {
|
|||
Height: desc.Height,
|
||||
StartingPriority: 0, // We don't mine.
|
||||
CurrentPriority: 0, // We don't mine.
|
||||
Depends: make([]string, 0),
|
||||
}
|
||||
for _, txIn := range desc.Tx.MsgTx().TxIn {
|
||||
hash := &txIn.PreviousOutpoint.Hash
|
||||
|
|
Loading…
Reference in a new issue