code: func deserializeOutpoints(serializedOuts []btcjson.OutPoint) ([]*wire.OutPoint, error) {
  	outpoints := make([]*wire.OutPoint, 0, len(serializedOuts))
  	for i := range serializedOuts {
  		blockHash, err := chainhash.NewHashFromStr(serializedOuts[i].Hash)
  		if err != nil {
  			return nil, rpcDecodeHexError(serializedOuts[i].Hash)
  		}
  		index := serializedOuts[i].Index
  		outpoints = append(outpoints, wire.NewOutPoint(blockHash, index))
  	}
  
  	return outpoints, nil
  }
docs: // deserializeOutpoints deserializes each serialized outpoint.