code: func NewReceiptFromRLP(data []byte) (*Receipt, error) {
  	r := &Receipt{
  		receipt: new(types.Receipt),
  	}
  	if err := rlp.DecodeBytes(common.CopyBytes(data), r.receipt); err != nil {
  		return nil, err
  	}
  	return r, nil
  }
docs: // NewReceiptFromRLP parses a transaction receipt from an RLP data dump.